05.08.2013, 10:46
Hey guys!
I have a problem...
This don't work, i don't know why
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;
}