SA-MP Forums Archive
[Ajuda] Bug no PutPlayerInVehicle - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Bug no PutPlayerInVehicle (/showthread.php?tid=622485)



Bug no PutPlayerInVehicle - OliverK - 22.11.2016

Boa noite fуrum.

Seguinte, estou com um 'BUG' chatinho que atй o momento nгo achei um soluзгo possнvel.

Eu utilizo no meu GM uma include de veнculos e na mesma tem:

Код:
stock avt_PutPlayerInVehicle(playerid, vehicleid, seatid)
{
	SaveVehiclePosition(vehicleid);

	FORCED_VEHICLE		[playerid]	=	vehicleid;
	LAST_VEHICLE		[playerid]	=	vehicleid;
	return vehicleid, PutPlayerInVehicle(playerid, vehicleid, seatid);
}
#if defined _ALS_PutPlayerInVehicle
    #undef PutPlayerInVehicle
#else
    #define _ALS_PutPlayerInVehicle
#endif
#define PutPlayerInVehicle avt_PutPlayerInVehicle
Quando eu uso PutPlayerInVehicle no GM funciona normal.
Porйm quando utilizo em filterscripts o jogador nгo й injetado para o veнculo, no caso й esse o bug.

O que pode causar isso?

Obs, adicionei a include no FS tambйm e nгo resolveu.

Alguйm pode ajudar? OBG