Reputation Activity
-
xMG reacted to Rich in Ending callout when car gets picked up by tow truckYou could use the "IsOnAllWheels()" method on the vehicle to be towed and check its condition in a loop. Not sure if this will return false when the vehicle is teleported, or when it's on a flatbed.
-
xMG reacted to LMS in Ending callout when car gets picked up by tow truckYou could see if it is attached to the other car using natives, then you could check if it is attached to any entity.
-
xMG reacted to LMS in Ending callout when car gets picked up by tow truckThere are two separate problems really: 1) detecting if a c ar is being towed and b) ending the callout. Do you know what car you want to check? I have no idea of how StopThePed works, so you would have to look into how it does the towing a bit to figure out the best way on how to detect it. Ending your callout is as easy as calling End.