help me please ... - 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: help me please ... (
/showthread.php?tid=590352)
help me please ... -
Rafaeloo - 28.09.2015
hey guys
i made a map with editor
i have get the code but i dont understand
when can i add it ?
on gm or make it a fs ?
i need a help
Re: help me please ... -
Rafaeloo - 28.09.2015
anyoneeee :/ ?
Re: help me please ... -
CalvinC - 28.09.2015
You can add it in both a GM and FS.
If you want a FS put the code in OnFilterScriptInit, if you want it in the GM put the code in OnGameModeInit
Re: help me please ... -
Rafaeloo - 28.09.2015
OnGameModeInit
and here to add the pwn of my mapp ?
i can add it anywhere ?
Re: help me please ... -
CalvinC - 28.09.2015
Open up your map PWN file, and then copy all the CreateObject codes and put them under OnGameModeInit in your gamemode.
And if you have any RemoveObject codes, put them under OnPlayerConnect.
Re: help me please ... -
Rafaeloo - 28.09.2015
thanks u very much bro +rep