What to do when out of fuel
#1

HI, i am working on a rp server, vehicle system. What should I do when the car is out of fuel? Freezeplayer? Any good ideas? How to let him get out of the car if i freeze him?
Reply
#2

TogglePlayerControllable(playerid,0);

or i had an idea last night.. maybe setvehiclevelocity set to zero under onplayerkeystatechange

didnt test it but have fun trying
Reply
#3

You mean, of course, TogglePlayerControllable(playerid,1);
Reply
#4

Thank's for answers
Reply
#5

..euhm yea..probably thanks jochemD XD
Reply
#6

When i make this:

pawn Код:
TogglePlayerControllable(playerid,1);
I can't get out of the car. Any suggestions?
Reply
#7

Quote:
Originally Posted by ajwar
Посмотреть сообщение
When i make this:

pawn Код:
TogglePlayerControllable(playerid,1);
I can't get out of the car. Any suggestions?
Then you make an exit command, that removes player from vehicle.

"You Car Is Out Of Fuel! [/exit]"
Reply
#8

Prepare for 0.3c and disable the engine.
Reply
#9

When it's coming ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)