Hi, when I activate the Permission system, all helicopters do not have a sign on them. Is it just me?
I'm just testing to see if
https://umod.org/plugins/claim-vehicle-ownership
https://umod.org/plugins/vehicle-vendor-options
but to no avail.
Both plugins set Owner on the ride...
"Use Permissions": true,Suggestion
Vehicle Vendor Options sets the owner on a short delay (1 tick) after the minicopter spawns. Given that Minicopter License Plate checks for ownership on the spawn tick, and is alphabetically named earlier, it will probably need to be updated to wait 2 ticks before checking for ownership. Another improvement that could be made would be to have Minicopter License Plate subscribe to the OnVehicleOwnershipChanged hook to detect when a player claims a vehicle via Claim Vehicle Ownership.
I couldn't figure it out except for the fact that you are a genius. Thanks for letting me know anyway....
I don't know if this is a project that can be adjusted when the producer is available, but I will wait patiently.
Will see if I can implement the changes. Will likely be toward the weekend.
Thank you! Here's to the speed of response!
One suggestion is that if you want to handle the case where a heli is spawned at a vendor, you can just delay one tick rather than two, and check the minicopter's creatorEntity object, as Vehicle Vendor Options is doing. No need to wait the 2nd tick for VVO to set the owner because VVO might not even be loaded and might have the ownership feature disabled. If the creatorEntity is there 1 tick after spawn, then you know it was spawned for that player.
By the way, if you can have a add config.
Can you add ON/OFF for Sign Collider? There are many times when the foot gets hits and frustration builds up.
It's not enough to start a new thread, so I'll just mention it by the way. I'll look forward to your weekend!
Will try both. Sorry I haven't been coding this last weekend. I had some rather painful digestive distress. It was shitty.
TheFriendlyChap
Will try both. Sorry I haven't been coding this last weekend. I had some rather painful digestive distress. It was shitty.
Don't worry about it. Worry about your own body first.
We'll be waiting for you slowly! Thanks for the report.