Transfer A Filterscript Into A GameMode
#1

I have switched to a light RP script, so i am able to edit it, because i cannot stand GF. So i need to use a vehicle system, that has ownership ect. https://sampforum.blast.hk/showthread.php?tid=8974 i was thinking about that one, (tAXi's) but i really do not like FS's. And i would like to add some more commands to it, and the easiest way to do that, without includes ect, i need to put it into my GM.

So. How would i do that? i know i can copy all the #define, #new , and #forward ; but its the onplayerconnect, and onfilterscriptinit i dont know what to do there.

oh, the FS also uses strcmp and my GM uses zcmd. I dont want (know how) to convert the commands, or would it still be copy and paste?

Thanks



+ whoever helps me, gets a helper cookie
Reply
#2

Just transfer the functions. Like OnFilterScriptInit goes to OnGameModeInit and so on. Not hard, but I recommend to do that. Less FS less memory usages.
Reply
#3

Quote:
Originally Posted by ScottCFR
Посмотреть сообщение
Just transfer the functions. Like OnFilterScriptInit goes to OnGameModeInit and so on. Not hard, but I recommend to do that. Less FS less memory usages.
Thanks, i am too damn tired to do that now, so ill do it tomorrow, and see how it goes

YOU GET A HELPER COOKIE, /me gives cookie
Reply
#4

No probs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)