GetPlayerSurfingVehicle
#1

GetPlayerSurfingVehicle doesn't works if a player is not in a car which you want to 'surf' it , why?
Reply
#2

It returns a value when a player is surfing on a vehicle.. Nothing else than this.
Reply
#3

check this out

http://files.uploadffs.com/9/d0ee9985/samp000.png
http://files.uploadffs.com/5/c9d857a8/samp002.png
Reply
#4

He means, that it will only return a value when there's a driver.
Reply
#5

it was bug tested with a player driving it still returns the value 65535 there was a post about this already..
Reply
#6

But why to set player surfing on empty car
Reply
#7

Quote:
Originally Posted by Kurence
But why to set player surfing on empty car
you don't set a player to surf on a car you get the vehicle's id that they are standing on

quite a useful callback if it worked
Reply
#8

Simply: it only works if someone is driving the vehicle (NPC / Player)

and you leave the ID of the vehicle in which these Surfing
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)