25.07.2018, 07:20
(
Последний раз редактировалось Sew_Sumi; 25.07.2018 в 09:13.
)
You could delete it and remake it, but the question is how it disappears, many of those pickups respawn.
Just where it's picked up, you'll simply delete the pickup and remake it in that section, but that could trigger double OnPlayerPickupPickup spam.
Another way could be to simply use a normal pickup, and check for the occupant being the driver of the car, or in the car that has triggered it.
Something else that could help you learn about them, is simply returning the information from the callback to the client so you can see under what circumstances each pickup type, triggers. Then just have 14+ pickups, with types ranging from 0-14+ or whatever range they are, for debugging purposes.
Just where it's picked up, you'll simply delete the pickup and remake it in that section, but that could trigger double OnPlayerPickupPickup spam.
Another way could be to simply use a normal pickup, and check for the occupant being the driver of the car, or in the car that has triggered it.
Something else that could help you learn about them, is simply returning the information from the callback to the client so you can see under what circumstances each pickup type, triggers. Then just have 14+ pickups, with types ranging from 0-14+ or whatever range they are, for debugging purposes.