A warning.
#1

The warning i get is
Number of arguments doesnt match definations.

and the code along with the warning line is
pawn Код:
if(GarageInfo[idx][gLevel] == 1 && !IsPlayerInAnyVehicle(playerid))
            {
               SetPlayerPos(playerid, -72.5507,-20.3314,972.5516);
               SetPlayerFacingAngle(playerid, 267.0980);
               SetCameraBehindPlayer(playerid);
               SetPlayerInterior(playerid, 1);
               SetPlayerVirtualWorld(playerid, idx+500);
               return 1;
            }
            else if(IsPlayerInVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) // warning line
            {
               SetVehiclePos(playerid, -72.5507,-20.3314,972.5516);
               SetPlayerFacingAngle(playerid, 267.0980);
               SetCameraBehindPlayer(playerid);
               LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
               SetVehicleVirtualWorld(playerid, idx+500);
               return 1;
            }
Reply


Messages In This Thread
A warning. - by Laure - 07.06.2014, 13:43
Re: A warning. - by Konstantinos - 07.06.2014, 13:45
Re: A warning. - by Laure - 07.06.2014, 13:47
Re: A warning. - by Parallex - 07.06.2014, 13:48
Re: A warning. - by Laure - 07.06.2014, 13:50
Re: A warning. - by Konstantinos - 07.06.2014, 13:54
Re: A warning. - by Laure - 07.06.2014, 14:04
Re: A warning. - by Konstantinos - 07.06.2014, 14:18
Re: A warning. - by Laure - 07.06.2014, 14:19
Re: A warning. - by Laure - 07.06.2014, 14:39

Forum Jump:


Users browsing this thread: 1 Guest(s)