18.12.2011, 05:36
Issue with your script
If the player get's a desert eagle WHILE in the car, they will still be able to driveby with it.
In OnPlayerUpdate,
If the player get's a desert eagle WHILE in the car, they will still be able to driveby with it.
In OnPlayerUpdate,
pawn Code:
if(GetPlayerState(playerid) = PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
{
if(GetPlayerWeapon(playerid) == 24) SetPlayerArmedWeapon(playerid, 0);
}