[HELP]: OnPlayerEnterVehicle
#1

Hey guys!

I have a problem...

This don't work, i don't know why

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(vehicleid == 425 && gPlayerClass[playerid] != PILOT)
    {
    SendClientMessage(playerid, COLOR_RED, "[ERROR]: {FFFFFF}You Need to be a Pilot to fly {FF0000}Hunter{FFFFFF}!");
    RemovePlayerFromVehicle(playerid);
    }
    if(vehicleid == 520 && gPlayerClass[playerid] != PILOT)
    {
    SendClientMessage(playerid, COLOR_RED, "[ERROR]: {FFFFFF}You Need to be a Pilot to fly {FF0000}Hydra{FFFFFF}!");
    RemovePlayerFromVehicle(playerid);
    }
    return 1;
}
Reply


Messages In This Thread
[HELP]: OnPlayerEnterVehicle - by Areax - 05.08.2013, 10:46
Re: [HELP]: OnPlayerEnterVehicle - by FiReAlEx - 05.08.2013, 10:49
Re: [HELP]: OnPlayerEnterVehicle - by Areax - 05.08.2013, 10:50
Re: [HELP]: OnPlayerEnterVehicle - by FiReAlEx - 05.08.2013, 10:54
Re: [HELP]: OnPlayerEnterVehicle - by Vanter - 05.08.2013, 10:55
Re: [HELP]: OnPlayerEnterVehicle - by redreaper666 - 05.08.2013, 10:56
Re: [HELP]: OnPlayerEnterVehicle - by Areax - 05.08.2013, 10:59
Re: [HELP]: OnPlayerEnterVehicle - by DeMoX - 05.08.2013, 11:00
Re: [HELP]: OnPlayerEnterVehicle - by Areax - 05.08.2013, 11:05
Re: [HELP]: OnPlayerEnterVehicle - by Vanter - 05.08.2013, 11:06

Forum Jump:


Users browsing this thread: 2 Guest(s)