Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Lukas R
on
I'm trying to put together a small script to show a small icon when a driver uses P2P. So I need to check, whether P2P is active, but I can't find under which script path it's hidden?

I mean, when I check the pits, I use:
if (car.Entity.Car.Movement.IsInPits == true)


How do I check whether the car uses P2P?

Thanks!