Weapons
#9

You can do it in AddPlayerClass or you can do it in OnPlayerSpawn like this:

pawn Код:
public OnPlayerSpawn(playerid)
{
    switch(gTeam[playerid])
    {
        case TEAM_MAFIA:
        {
            GivePlayerWeapon(playerid, 38, 65535);
        }

        case TEAM_POLICE:
        {
            GivePlayerWeapon(playerid, 37, 65535);
        }
    }
}
Reply


Messages In This Thread
Weapons - by HighPitchedVoice - 24.05.2012, 11:40
Re: Weapons - by HighPitchedVoice - 24.05.2012, 11:54
Re: Weapons - by Jarnu - 24.05.2012, 12:07
Re: Weapons - by HighPitchedVoice - 24.05.2012, 12:10
Re: Weapons - by Jarnu - 24.05.2012, 12:13
Re: Weapons - by HighPitchedVoice - 24.05.2012, 12:18
Re: Weapons - by Jarnu - 24.05.2012, 12:20
Re: Weapons - by vIBIENNYx - 24.05.2012, 12:32
Re: Weapons - by SuperViper - 24.05.2012, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)