Getplayervehicle :S
#6

Quote:
Originally Posted by boelie
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
Sorry but i didn't understand a shit can you please just explain it better like in steps n stuff
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)