[help] Car
#1

Hey i have some question i have an old rpg mod its noot good now i have build my huge GF/RP mod with help form here and ahtere place long time ago but now i have one question when i take a car in my GF the engine in the car start as always but when i exit the car the engine on the car turns off, but if i go to my old rpg mod and take a car the engine starts as always agen and i exit the car the engine is still on it will never turns off its no [FS] engine script i meen the orginal engine on the cars.
i wanna know if i can take that away i dont know what it is i need some help plzz.

why i want the engine still on its because the car lights is on if its night then i can see if the car is on or has been used help plzz
Reply
#2

what do you mean? like turn the real engine on and off and headlights?
Reply
#3

check your old rpg mod and go down to,

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}
And tell me what is there.
Reply
#4

Quote:
Originally Posted by TeddyBear
check your old rpg mod and go down to,

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}
And tell me what is there.
there is nothing i can say it that but here it is

Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
	if (GetPlayerState(playerid) == 1)
	{
		return 1;
	}
	if(gGas[playerid] == 1)
	{
	  GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~Left car", 500, 3);
	}
	return 1;
}
Reply
#5

ok,

what does

pawn Код:
if(gGas[playerid] == 1)
do?
Reply
#6

Quote:
Originally Posted by TeddyBear
ok,

what does

pawn Код:
if(gGas[playerid] == 1)
do?
thats the fuel system
Reply
#7

^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)