26.10.2012, 11:36
my player can use gun in car out window,they press Horn and Q and E and key_fire,everybody help me!how to make them no work ??
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
SetPlayerArmedWeapon(playerid, 0);
}
return 1;
}