for gups
else if (strcmp(cmd, "heal", true) == 0) {
new Float:Health; GetPlayerHealth(playerid,Health);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if (GetPlayerMoney(playerid) < 200) SendClientMessage(playerid, GREEN,"[Error] - You need:$200 to heal.",GetPlayerMoney(playerid),200-GetPlayerMoney(playerid));
else if (Health >= 100) SendClientMessage(playerid,COLOR_GREEN,"Error: You are healthy!");
else {
SetPlayerHealth(playerid,100.0);
DecPlayerHandCash(playerid,200);
SendClientMessage(playerid,COLOR_GREEN,"You have been healed.");
}
return 1;
}