15.08.2011, 02:18
pawn Код:
// top of script
new IsLaVice[MAX_PLAYERS];
// in the function where it detects the player is a gang member, like your /joingang command for example
IsLaVice[playerid] = 1;
// in your /gangweapon command or something
if(IsLaVice[playerid] == 1)
{
// give their weapons here
// other stuff
return 1;
}
else
{
return SendClientMessage(playerid,color,"You aren't a gang member.");
}