help!
#8

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if (newstate == PLAYER_STATE_DRIVER)
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        if(vipcar[vehicleid] && PlayerInfo[playerid][pVIP] == 0)
        {
            SendClientMessage(playerid, -1, "This vehicle is only available for VIP players.");
            RemovePlayerFromVehicle(playerid);
        }
     }
}
Give this a try
Reply


Messages In This Thread
help! - by Kells - 20.05.2014, 18:14
Re: help! - by Spartaaaaa - 20.05.2014, 18:20
Re: help! - by [..MonTaNa..] - 20.05.2014, 18:21
Re: help! - by Kells - 20.05.2014, 18:26
Re: help! - by JFF - 20.05.2014, 18:32
Re: help! - by Kells - 20.05.2014, 18:42
Re: help! - by MacT - 20.05.2014, 19:27
Re: help! - by [..MonTaNa..] - 20.05.2014, 22:44

Forum Jump:


Users browsing this thread: 1 Guest(s)