How to make car drivable only with one skin
#8

İ just go ingame and it didnt worked it aint removing player from vehicle.

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new model = GetVehicleModel(vehicleid);
    if(model == 428)
    {
        if(!GetPlayerSkin(playerid) != 27) return SendClientMessage(playerid, -1, "You are not allowed to drive this car");        
    }
    return 1;
}
Your question was answered and it works.
Код:
TESTGM.pwn(125) : warning 213: tag mismatch
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)