27.07.2012, 11:08
You'll have to make a variable for every player, with will look if that player is offered a weapon set, like this:
Hope i helped
Код:
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
}

