use command 1x...
#4

Top of code:

pawn Код:
new usedhelp[MAX_PLAYERS] = 0;
OnPlayerConnect

pawn Код:
usedhelp[playerid] = 0;
OnPlayerCommandText

pawn Код:
if(!strcmp(cmdtext, "/help"))
{
if(usedhelp[playerid] == 1) return SendClientMessage(playerid,COLOR_yourcolourhere,"You are NOT allowed to use this command!");
SendClientMessage(playerid,WHITE,"--------HELP-----------------------");
SendClientMessage(playerid,GREEN,"This is a Team Death Match gameplay. You are in a fight between Vietnam and USA, have Fun. We now have killstreaks.");
SendClientMessage(playerid,WHITE,"--------HELP-----------------------");
usedhelp[playerid] = 1;
return 1;
}
Reply


Messages In This Thread
use command 1x... - by Baboon - 28.11.2010, 11:33
Re: use command 1x... - by WillyP - 28.11.2010, 11:34
Re: use command 1x... - by Baboon - 28.11.2010, 11:36
Re: use command 1x... - by WillyP - 28.11.2010, 11:40
Re: use command 1x... - by Baboon - 28.11.2010, 11:51

Forum Jump:


Users browsing this thread: 2 Guest(s)