Posts: 186
Threads: 80
Joined: Aug 2015
Reputation:
0
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
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
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
Posts: 186
Threads: 80
Joined: Aug 2015
Reputation:
0
OnGameModeInit
and here to add the pwn of my mapp ?
i can add it anywhere ?
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
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.
Posts: 186
Threads: 80
Joined: Aug 2015
Reputation:
0
thanks u very much bro +rep