need suggestion
#1

Hello is this possible to get vehicles count in a player radius?

like 50m radius of player... ??
Reply
#2

Yes, you can use GetVehiclewithinDistance there

Edit: I just noticed that's not a standard function, sorry


You'l need to get the playerposition, loop trough all vehicles, get their distance and then count up a variable if the distance is less than 50m

Distance: https://sampwiki.blast.hk/wiki/GetVehicleDistanceFromPoint
Reply
#3

thanks . im trying now this version
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)