"Freeze" vehicle
#1

Hello,

Is it possible to freeze a vehicle?
Because i made cars that you can rent,
but they have to stay on the same position,
so that people can't push them away and stuff =p

Thanks,
Stefan
Reply
#2

TogglePlayerControllable(playerid, 0);
Reply
#3

Quote:
Originally Posted by Zonoya
Посмотреть сообщение
TogglePlayerControllable(playerid, 0);
did you even read what i said?
I said the vehicle needs to be frozen,
so people can't push it away...
I don't need to turn off the controls for a player inside a car --'
Reply
#4

Probably not
Reply
#5

oh sorry i dont think so
Reply
#6

This idea may be sloppy but you could do a check if the owner/renter has entered the vehicle, and if not every X seconds it reset back to its spawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)