#4

Edit:

Just Copy from me...

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
   new vehicleid = GetPlayerVehicleID(playerid);
	if(newstate == PLAYER_STATE_DRIVER)
	if(!IsPlayerInInvalidNosVehicle(playerid,vehicleid))
	{
	AddVehicleComponent(vehicleid,1010);
	}
return 1;
}
Why?

Simple.. you not sayd to your Script .. that the variable "vehicleid" is the Vehicle where the player is in
Reply


Messages In This Thread
Nos - by LibertyWorld - 10.02.2009, 18:21
Re: Nos - by MenaceX^ - 10.02.2009, 18:24
Re: Nos - by LibertyWorld - 10.02.2009, 18:31
Re: Nos - by mirkoiz - 10.02.2009, 18:42
Re: Nos - by LibertyWorld - 10.02.2009, 18:46
Re: Nos - by mirkoiz - 10.02.2009, 18:48
Re: Nos - by Think - 10.02.2009, 21:06

Forum Jump:


Users browsing this thread: 1 Guest(s)