/buywepset CMD HELP
#10

You'll have to make a variable for every player, with will look if that player is offered a weapon set, like this:

Код:
new OfferedWeaponSet[MAX_PLAYERS];//make this at the top of the script

//and on the command you make 
if(OfferedWeaponSet[playerid] == 0){
SendClientMessage(playerid, COLOR_RED, "Do you really wanna buy a weapon set?");
OfferedWeaponSet[playerid] = 1; 
return 1;
}
else{
//your old code to buy a weapon here
}
Hope i helped
Reply


Messages In This Thread
/buywepset CMD HELP - by NinjaChicken - 27.07.2012, 10:47
Re: /buywepset CMD HELP - by Devilxz97 - 27.07.2012, 10:49
Re: /buywepset CMD HELP - by NinjaChicken - 27.07.2012, 10:52
Re: /buywepset CMD HELP - by Devilxz97 - 27.07.2012, 10:52
Re: /buywepset CMD HELP - by NinjaChicken - 27.07.2012, 10:56
Re: /buywepset CMD HELP - by Devilxz97 - 27.07.2012, 10:57
Re: /buywepset CMD HELP - by NinjaChicken - 27.07.2012, 10:59
Re: /buywepset CMD HELP - by Devilxz97 - 27.07.2012, 11:01
Re: /buywepset CMD HELP - by NinjaChicken - 27.07.2012, 11:03
Re: /buywepset CMD HELP - by Ranama - 27.07.2012, 11:08

Forum Jump:


Users browsing this thread: 1 Guest(s)