23.06.2013, 18:28
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (TECLA(KEY_FIRE))
{
if (GetPlayerVehicleID(playerid) == 451)
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
SendClientMessage(playerid, red, "Nitro ativado!");
}
}
return 1;
}