09.05.2012, 22:49
Quote:
nao da para o impedir mas sem o tirar do veiculo? "bicicleta"
|
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_SECONDARY_ATTACK) && !(oldkeys & KEY_SECONDARY_ATTACK) && IsPlayerInAnyVehicle(playerid))
{
if(GetVehicleModel(GetPlayerVehicleID(playerid) == 509 || 481 || 510)
{
return false;
}
}
return 1;
}