23.09.2014, 17:15
pawn Код:
CMD:cure(playerid, params[])
{
new targetid;
if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_RED, "[USAGE]: /cure [Part of Name/Player ID]");
KillTimer(Rape[targetid]);
SetPlayerHealth(targetid, 100);
return 1;
}
according tot the script: Rape should be a global variable and also should be like
Код:
new Rape[MAX_PLAYERS];