[help]freeze
#1

I created a car rental company.
The money goes to the vault, appears the phrase when you enter the car ... so you have a problem
the car does not freeze as the guy goes into it.
The car has to stay frozen until the guy typing /carhire, if not he will not pay to use it

Код:
if(newcar >= 372 && newcar <= 377)
		{
			if (HireCar[playerid] != newcar)
			{
				format(string, sizeof(string), "~w~You can rent this car ~n~ Cost: $ 500 ~g~ ~n~ ~w~ For Rent type ~g~ / carhire ~w~~n~ enter to exit ~r~ /exit");
				TogglePlayerControllable(playerid, 0);
				GameTextForPlayer(playerid, string, 5000, 3);
			}
		}
this is where I tried to do
it's just not working

someone to help please?
Reply
#2

And what do you have this code under?
Reply
#3

pawn Код:
new Float:x,Float:y,Float:z;
if(newcar >= 372 && newcar <= 377)
        {
            if (HireCar[playerid] != newcar)
            {
                format(string, sizeof(string), "~w~You can rent this car ~n~ Cost: $ 500 ~g~ ~n~ ~w~ For Rent type ~g~ / carhire ~w~~n~ enter to exit ~r~ /exit");
                GetPlayerPos(playerid,x,y,z);
                                SetTimer("RELOAD",1,1); {
                                SetPlayerPos(playerid,x,y,z);
                                }
                GameTextForPlayer(playerid, string, 5000, 3);
            }
        }
Maybe this will work (dunno for sure)
Reply
#4

did it so that you step selten98
but when this happens get in the car:

Reply
#5

I have the same problem that your

will someone who can help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)