Hi, I present you my new FS, with it, you can control RC vehicules. These vehicles cannot be drived except if the player is teleported inside : if you type enter, nothing happens.
This script can be used in RolePlay Gamemode : if a vehicle move away from 50 m, it can not be controlled. Like a real RC vehicle
When you enter the vehicle you can not move, and when you exit the vehicle or when you go beyond 50 m, you go to your last position, and the RC vehicle too.
Attention, i try to reduce resource consommation but, for loops i don't have choice.
For the timer, i think i can do it with "GetTime", but I don't understand this function.
Link
Update
It's now possible to deactivate the distance function. It's activated by default : put on top of the script : "#define USE_DISTANCE"
Link
Translation by papawy
This script can be used in RolePlay Gamemode : if a vehicle move away from 50 m, it can not be controlled. Like a real RC vehicle
When you enter the vehicle you can not move, and when you exit the vehicle or when you go beyond 50 m, you go to your last position, and the RC vehicle too.
Attention, i try to reduce resource consommation but, for loops i don't have choice.
For the timer, i think i can do it with "GetTime", but I don't understand this function.
Link
Update
It's now possible to deactivate the distance function. It's activated by default : put on top of the script : "#define USE_DISTANCE"
Link
Translation by papawy
Aucun commentaire:
Enregistrer un commentaire