Invalid Function
#1

Anyone who helps +rep

pawn Код:
if ( newstate == PLAYER_STATE_DRIVER )
            {
                if ( IsAnAirVehicle ( GetPlayerVehicleID ( playerid ) )
                {
                    if (PlayerInfo[playerid][jProfesion] == 1 | PlayerInfo[playerid][jProfesion] == 2 | PlayerInfo[playerid][jProfesion] == 3 | PlayerInfo[playerid][jProfesion] == 4)
                    {
                        RemovePlayerFromVehicle(playerid);
                        SendClientMessage(playerid,COLOR_RED,"You don't know how to drive aircraft vehicles.");
                        return 1;
                    }
                }
            }
If anyone could tell me what's wrong with this that'd be great.
Reply


Messages In This Thread
Invalid Function - by Oh - 02.12.2011, 20:43
Re: Invalid Function - by reckst4r - 02.12.2011, 21:29
Re: Invalid Function - by Oh - 02.12.2011, 21:37
Re: Invalid Function - by reckst4r - 02.12.2011, 21:49
Re: Invalid Function - by Oh - 02.12.2011, 21:52
Re: Invalid Function - by reckst4r - 02.12.2011, 22:02
Re: Invalid Function - by WLSF - 02.12.2011, 22:03
Re: Invalid Function - by MP2 - 02.12.2011, 22:05
Re: Invalid Function - by sleepysnowflake - 02.12.2011, 22:07
Re: Invalid Function - by Oh - 02.12.2011, 22:09

Forum Jump:


Users browsing this thread: 1 Guest(s)