SA-MP Forums Archive
Does PutPlayerInVehicle Call OnPlayerEnterVehicle? - 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)
+--- Thread: Does PutPlayerInVehicle Call OnPlayerEnterVehicle? (/showthread.php?tid=506623)



Does PutPlayerInVehicle Call OnPlayerEnterVehicle? - Dokins - 13.04.2014

Title says all.

Any information would be great.


Re : Does PutPlayerInVehicle Call OnPlayerEnterVehicle? - S4t3K - 13.04.2014

Try yourself.

Make a tiny filterscript which only calls OnPlayerEnterVehicle and putplayerinvehicle.
Make a command which is called "/enter1", which will put the player in the carid 1.
Then add a printf("OnPlayerEnterVehicle called !");
if the message displays in the commandline, it means that it's called.
either, it means it's not.