Lock cars for certain players?
#5

You are using the vehicle type id am I right? U want to kick players out of vehicle 599 (Police Ranger)?

There is your problem, you need another id...

To get this:
OnPlayerEnterVehicle
Код:
new string[128];
format(string,128,"vehicle id: %d",GetPlayerVehicleID(playerid));
SendClientMessage(playerid,yourcolor,string);
When you enter (or try to enter) a vehicle you will get the id (when it is 12, means that this is the 12th vehicle created in your server).
Delete the code when you no longer need it ofcourse.

Hope it helps

Grts Riz
Reply


Messages In This Thread
Lock cars for certain players? - by gemadon - 10.08.2009, 03:28
Re: Lock cars for certain players? - by WrathOfGenesis - 10.08.2009, 06:45
Re: Lock cars for certain players? - by James_Alex - 10.08.2009, 09:08
Re: Lock cars for certain players? - by gemadon - 10.08.2009, 16:01
Re: Lock cars for certain players? - by Rizard - 10.08.2009, 16:31
Re: Lock cars for certain players? - by gemadon - 10.08.2009, 18:02
Re: Lock cars for certain players? - by Rizard - 10.08.2009, 23:28
Re: Lock cars for certain players? - by gemadon - 11.08.2009, 02:48
Re: Lock cars for certain players? - by Abernethy - 11.08.2009, 02:54
Re: Lock cars for certain players? - by gemadon - 11.08.2009, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)