15.07.2016, 15:26
I'm getting these errors after compiling
Код:
(3726) : error 001: expected token: "-identifier-", but found "-string-" (3730) : error 035: argument type mismatch (argument 2) (3731) : error 035: argument type mismatch (argument 2)
Код:
if (newkeys & KEY_HORN) { if(GetPlayerState(playerid) == 2) { new veh = GetPlayerVehicleID(playerid); new Float:x,Float:y,Float:z; new VehicleID,Float:B; GetVehiclePos(veh,x,y,z); SetVehiclePos(veh,x,y,z+3); VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID,B); SetVehicleZAngle(VehicleID,B); SetVehicleVelocity(VehicleID, 0.0, 0.0, 0.1); SetVehicleAngularVelocity(VehicleID,0,0,0); } }