How to...
#4

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.");
}
Something like that.
Reply


Messages In This Thread
How to... - by Mr.Anonymous - 15.08.2011, 01:31
Re: How to... - by =WoR=Varth - 15.08.2011, 01:52
Re: How to... - by Mr.Anonymous - 15.08.2011, 02:11
Re: How to... - by grand.Theft.Otto - 15.08.2011, 02:18
Re: How to... - by Deskoft - 15.08.2011, 03:18

Forum Jump:


Users browsing this thread: 2 Guest(s)