12.03.2014, 08:24
error 017: undefined symbol "KEY_ALT"
Help Plz thanks
PHP код:
if(GetPlayerVehicleID(playerid) == 447)
{
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(PRESSED(KEY_ALT))
{
new v = GetPlayerVehicleID(playerid);
SetVehicleHealth(v,-5);
GameTextForPlayer(playerid, "~b~Stop spamming Your Vehicle Gun ~r~Heat Up.", 3000, 1);
}
return 1;
}
}