expected token and argument mistmatch
#1

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);
        }
    }
Reply


Messages In This Thread
expected token and argument mistmatch - by kampuman - 15.07.2016, 15:26
Re: expected token and argument mistmatch - by JustMe.77 - 15.07.2016, 15:34
Re: expected token and argument mistmatch - by kampuman - 15.07.2016, 15:37
Re: expected token and argument mistmatch - by JustMe.77 - 15.07.2016, 15:41
Re: expected token and argument mistmatch - by Flake. - 15.07.2016, 15:49

Forum Jump:


Users browsing this thread: 1 Guest(s)