SA-MP Forums Archive
Bug confirmation - GetPlayerSurfingVehicleID with Trailers - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Bug confirmation - GetPlayerSurfingVehicleID with Trailers (/showthread.php?tid=102564)



Bug confirmation - GetPlayerSurfingVehicleID with Trailers - Mikep. - 16.10.2009

I need confirmation that GetPlayerSurfingVehicleID doen't work when you surf a trailer, so I can post it in the bugs topic.

Can anyone confirm this?


Re: Bug confirmation - GetPlayerSurfingVehicleID with Trailers - Beaver07 - 16.10.2009

for some reason i can't even get it to show any vehicle id my code was this

Код:
if(strcmp(cmd, "/surf", true) == 0) {
		new string[128];
		format(string,sizeof(string),"Vehicle ID: %d",GetPlayerSurfingVehicleID(playerid));
		SendClientMessage(playerid,0xAFAFAFAA,string);
    return 1;
  }
it just kept returning Vehicle ID 65535 it was tested on grand larceny aswell


Re: Bug confirmation - GetPlayerSurfingVehicleID with Trailers - Mikep. - 16.10.2009

Same for me.


Re: Bug confirmation - GetPlayerSurfingVehicleID with Trailers - Beaver07 - 16.10.2009

post it in bug reports then i guess however before you post did you just test this on your own like me? or was somebody driving the vehicle? because it might only detect driven vehicles i cant test this atm as it my scripting team are still in bed


Re: Bug confirmation - GetPlayerSurfingVehicleID with Trailers - Mikep. - 16.10.2009

Someone was driving.

They also tested it, with my /surf command. (test command)


Re: Bug confirmation - GetPlayerSurfingVehicleID with Trailers - RoamPT - 16.10.2009

Tested it, it returns me the same.