i want limit the player weapon
#3

If you want SMG only:

Under OnPlayerStateChange:
pawn Код:
if(newstate == 3) // Entered a vehicle as a passenger
{
    // Drive-by weapons (SMG only)
    new weaponid, ammo;
    GetPlayerWeaponData(playerid, 4, weaponid, ammo); // 4 is the SMG slot
    SetPlayerArmedWeapon(playerid, weaponid);
}
Reply


Messages In This Thread
i want limit the player weapon - by peterory - 28.06.2012, 13:40
Re: i want limit the player weapon - by Ainseri - 28.06.2012, 13:43
Re: i want limit the player weapon - by MP2 - 28.06.2012, 13:54

Forum Jump:


Users browsing this thread: 2 Guest(s)