Quote:
Originally Posted by newbienoob
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (newkeys & KEY_HORN) { if(IsPlayerInAnyVehicle(playerid)) { new VehicleID,Float:B; VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID,B); SetVehicleZAngle(VehicleID,B); } return 1; } if(PRESSED(KEY_FIRE)) /////Here { //.... return 1; }
|
(805
: error 010: invalid function or declaration
(8062) : error 010: invalid function or declaration
if (PRESSED( KEY_FIRE ))
return 1;