Help Me in String
#9

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;
}
hmmm... not an array?
according tot the script: Rape should be a global variable and also should be like
Код:
new Rape[MAX_PLAYERS];
Reply


Messages In This Thread
Help Me in String - by FisherMan - 23.09.2014, 15:38
Re: Help Me in String - by Sascha - 23.09.2014, 15:48
Re: Help Me in String - by FisherMan - 23.09.2014, 15:54
Re: Help Me in String - by FisherMan - 23.09.2014, 16:17
Re: Help Me in String - by XStormiest - 23.09.2014, 16:34
Re: Help Me in String - by FisherMan - 23.09.2014, 17:02
Re: Help Me in String - by XStormiest - 23.09.2014, 17:09
Re: Help Me in String - by FisherMan - 23.09.2014, 17:13
Re: Help Me in String - by XStormiest - 23.09.2014, 17:15
Re: Help Me in String - by FisherMan - 23.09.2014, 17:24

Forum Jump:


Users browsing this thread: 3 Guest(s)