Calling a Simhub fu...
 
Notifications
Clear all

Calling a Simhub function inside a Plugin

1 Posts
1 Users
0 Reactions
10 Views
(@tatonoidefo)
New Member
Joined: 3 hours ago
Posts: 1
Topic starter  

I'm trying to write a plugin to calculate some information, and one of then is the time gap between cars.
I know Simhub has the function "drivergaptoplayer(raceposition)", but how can I call this function inside the plugin?
To see the speed from my car I can use "pluginManager.GetPropertyValue("SpeedKmh")". Is there something similar to this approach for functions as we have for properties?


   
Quote
Share: