Lock cars for certain players?
#7

K my bad, put the code in 'public OnPlayerStateChange()'

this would become
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate==PLAYER_STATE_DRIVER)
{
new string[128];
format(string,128,"vehicle id: %d",GetPlayerVehicleID(playerid));
SendClientMessage(playerid,yourcolor,string);
}
should be giving you the vehicle id('s) you need

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)