SA-MP Forums Archive
Need some help. - 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: Need some help. (/showthread.php?tid=610939)



Need some help. - danielpalade - 30.06.2016

The way I'm organizing my script is by making different systems into different includes.
But the thing is, in some systems I need to use the OnPlayerEnterVehicle callback. Is there any function or script where I could do for example:

Код:
OnPlayerEnterVehicle:
{
 //code
}
So I can put every part of the same system in the same include, and not one part into one include and the rest in some other include.


Re: Need some help. - XVlaDX - 30.06.2016

https://github.com/Misiur/YSI
https://sampforum.blast.hk/showthread.php?tid=570883

I would suggest using the Y_Hooks library!