PDA

View Full Version : "Freeze" vehicle


Stefans94
09/10/2011, 07:17 PM
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

Zonoya
09/10/2011, 07:22 PM
TogglePlayerControllable(playerid, 0);

Stefans94
09/10/2011, 07:28 PM
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 --'

Wesley221
09/10/2011, 07:30 PM
Probably not

Zonoya
09/10/2011, 07:44 PM
oh sorry i dont think so

PrawkC
09/10/2011, 10:06 PM
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.