2 questions, please =s:
#8

id go something like this
PHP код:
if(strcmp("/warnx",cmdtexttrue10) == 0){
    
SetPVarInt(playerid,"warnx",GetPVarInt(playerid,warnx)++);
       if(
GetPVarInt(playerid,"warnx") == 1)return SendClientMessage(playeridvermelho,"1/3");
    else if(
GetPVarInt(playerid,"warnx") == 2)return SendClientMessage(playeridvermelho"2/3");
       else if(
GetPVarInt(playerid,"warnx") >= 3){
           
SendClientMessage(playeridvermelho"3/3");
           
Kick(playerid);
           
SetPVarInt(playerid,"warnx",0);
       }
    return 
1;

Reply


Messages In This Thread
2 questions, please =s: - by blackwave - 03.11.2010, 18:37
Re: 2 questions, please =s: - by KaleOtter - 03.11.2010, 20:23
Re: 2 questions, please =s: - by Hiddos - 03.11.2010, 20:25
Re: 2 questions, please =s: - by MBX97 - 03.11.2010, 22:27
Re: 2 questions, please =s: - by blackwave - 03.11.2010, 22:41
Re: 2 questions, please =s: - by KaleOtter - 04.11.2010, 10:17
Re: 2 questions, please =s: - by blackwave - 04.11.2010, 21:04
Re: 2 questions, please =s: - by (SF)Noobanatior - 04.11.2010, 23:48

Forum Jump:


Users browsing this thread: 1 Guest(s)