Getplayervehicle :S
#5

Try using it on OnPlayerStateChange


maybe you could learn something out of a piece of my script;

Код:
	cabid= GetPlayerVehicleID(playerid);//
	if(cabid==LVtaxi || busid==LVbus )// make this just any vehicle later
	{
	if(newstate == PLAYER_STATE_PASSENGER)
 	SendClientMessage(playerid,0x80008096, "You just afraid to drive yourself dont you ?");
	for(new i = 0; i < MAX_PLAYERS; i++)
	SetPlayerMarkerForPlayer(i, playerid,0xFFFFFF00);
  GivePlayerMoney(playerid, -1);
  	}
Offcourse you will need PLAYER_STATE_DRIVER


have fun
Reply


Messages In This Thread
Getplayervehicle :S - by Criss_Angel - 19.07.2009, 20:29
Re: Getplayervehicle :S - by Criss_Angel - 19.07.2009, 20:33
Re: Getplayervehicle :S - by Weirdosport - 19.07.2009, 20:38
Re: Getplayervehicle :S - by Criss_Angel - 19.07.2009, 20:39
Re: Getplayervehicle :S - by boelie - 19.07.2009, 20:40
Re: Getplayervehicle :S - by Criss_Angel - 19.07.2009, 20:42
Re: Getplayervehicle :S - by Criss_Angel - 19.07.2009, 21:21
Re: Getplayervehicle :S - by HuRRiCaNe - 19.07.2009, 21:38
Re: Getplayervehicle :S - by Criss_Angel - 19.07.2009, 22:16
Re: Getplayervehicle :S - by Jefff - 19.07.2009, 23:09

Forum Jump:


Users browsing this thread: 1 Guest(s)