Tow cars
#1

How can I make the towtruck(vehid 525) to be able to tow cars without players init with button ?
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)