there is a way to detect to when player get on a pickup on vehicle?
i did it onfoot, and it save me a lot of cpu, because now when i press a command or a key it not loop the whole houses,bizz system
but there are commands like repair vehicle in a bizz that u press it in vehicle
is anybody knows?
c
creamy-river-65943
01/27/2023, 9:49 AM
Yes, you can do it. Just use a proper pickup type which can be picked up in vehicle. Check the documentation to find it faster.
c
cuddly-table-7819
02/01/2023, 10:12 PM
my bad, there is a type for that, thank you
cuddly-table-7819
02/01/2023, 10:14 PM
one question: the type 14 is only for vehicles and the type 1 is only to onfoot
if i want both what should i do?
i've created two pickups in the same places, exacly equal with different type, is that the best way?
c
creamy-river-65943
02/01/2023, 11:37 PM
I thought there was one "universal" type for them to be picked up both onfoot and in vehicle. If you tried all the documented ones and didn't found any similar, then probably your current solution can be ok.
p
proud-umbrella-52076
02/02/2023, 3:57 AM
u can make command for it and loop checking that IsPlayerInRangeOfPoint of pickup positions
or u can make dynamicracecheckpoint