GetPlayerVehicleID problem
#1

pawn Код:
new vehicle;
        vehicle = GetPlayerVehicleID(playerid);
        if(vehicle(playerid) == 32)
        {
            if(AlreadyRequestedPatrol[playerid] == 1)
            {
                if(PlayerInfo[playerid][pMember] == 1)
                {
                    ShowPlayerDialog(playerid,70,DIALOG_STYLE_MSGBOX ,"LSPD Highspeed Patrol","This vehicle is the LSPD Highspeed Patrol Car! You must have permission from the chief to drive it./n Do you have permission?","Yes, I do.","No, I do not.");
                }
            }
        }
Please tell me what is wrong with "if(vehicle(playerid) == 32)"

Thanks!
Reply


Messages In This Thread
GetPlayerVehicleID problem - by Venturas - 12.09.2010, 01:37
Re: GetPlayerVehicleID problem - by Retardedwolf - 12.09.2010, 01:42
Re: GetPlayerVehicleID problem - by Toni - 12.09.2010, 01:45
Re: GetPlayerVehicleID problem - by Venturas - 12.09.2010, 01:46

Forum Jump:


Users browsing this thread: 1 Guest(s)