28.06.2012, 13:40
i don't want the player use eagle and shotgun in the car
how to limit it
how to limit it
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);
}