Posts: 591
Threads: 70
Joined: Jun 2009
Reputation:
0
How can I make the towtruck(vehid 525) to be able to tow cars without players init with button ?
Posts: 1,317
Threads: 23
Joined: Feb 2010
Reputation:
0
That would bring some complications as you would have to check if a vehicle is near you with either a timer or use of OnPlayerUpdate. If you choose to do something like that, make sure the first check is if the player is in a vehicle and the second if the player is in a towtruck before doing the area checks etc. If you use OnPlayerUpdate use scheduling code so that it doesn't get called ~40 a second.