Tuning out of garages
#1

How can i script a variable to allow players onplayervehiclemod(, to mod vehicles ONLY on tune garages?
Because the tune garages are not an interior, so i cant use an interior variable to make that.
Thanks to all repliers,
Rodrigo Dionigi
Reply
#2

Well you have to detect if player is at tuning garage, umm IsPlayerInRangeOfPoint might help? So if player will be in some radio it will allow him to call OnPlayerVehicleMod callback? Than Pickups and checkpoints might detect that also.
Reply
#3

Actually mod shops are in a different interior than 0. Get the player's interior and if it's equal to 0, return 0 to desync the components. Using a command/menu etc to tune your vehicles (AddVehicleComponent) outside of a mod shop doesn't call OnVehicleMod.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)