cars...
#9

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == VEHICLEID_WHO_YOU_WANT)
    {
    SendClientMessage(playerid, 0xFFFFFFFF, "This Vehicle is restrict for admins, get out!");
    RemovePlayerFromVehicle(playerid);
    return 1;
    }

    return 1
}
Replace VEHICLEID_WHO_YOU_WANT with vehicle id you want message to show up for.
Reply


Messages In This Thread
cars... - by [Lsrcr]Rafa - 30.08.2010, 14:58
Re: cars... - by Ironboy500[TW] - 30.08.2010, 15:04
Re: cars... - by CyNiC - 30.08.2010, 15:06
Re: cars... - by Jay. - 30.08.2010, 15:08
Re: cars... - by Jay. - 30.08.2010, 15:12
Re: cars... - by CyNiC - 30.08.2010, 15:17
Re: cars... - by FireCat - 30.08.2010, 15:22
Re: cars... - by [Lsrcr]Rafa - 30.08.2010, 15:29
Re: cars... - by Ironboy500[TW] - 30.08.2010, 15:32
Re: cars... - by CAR - 30.08.2010, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)