what function should i use?
#3

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
giving links dont really help and im not that illiterate with this language and plus im already using that one lol , i want to remove the players from specific vehicles. how would i do that?

like for instance im trying this ATM

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(IsPlayerVipType(playerid, 0))
    if(GetPlayerVehicleID(playerid) == 1)
    if(vehid > 520)
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, COLOR_RED, "ERROR: This is a VIP only vehicle!");
    return 1;
}
but its not removing the player from the vehicle.
Reply


Messages In This Thread
what function should i use? - by xXitsgodzillaXx - 25.04.2012, 01:18
Re: what function should i use? - by ReneG - 25.04.2012, 01:21
Re: what function should i use? - by xXitsgodzillaXx - 25.04.2012, 01:29
Re: what function should i use? - by Azazelo - 25.04.2012, 03:27
Re: what function should i use? - by SuperViper - 25.04.2012, 03:41
Re: what function should i use? - by Ballu Miaa - 25.04.2012, 05:46
Re: what function should i use? - by MP2 - 25.04.2012, 07:09
Re: what function should i use? - by xXitsgodzillaXx - 25.04.2012, 15:55
Re: what function should i use? - by Ballu Miaa - 25.04.2012, 16:36
Re: what function should i use? - by xXitsgodzillaXx - 25.04.2012, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)