[Q] Adding Maps - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [Q] Adding Maps (
/showthread.php?tid=193142)
[Q] Adding Maps -
xsxbluexsx - 25.11.2010
Lets say i have a code like
CreateObject(989, 346.98202514648, 1799.9235839844, 19.318511962891, 0.000000, 0.000000, 320.30029296875);
But a whole bunch of those
Where would i put them and how would i load them?
Re: [Q] Adding Maps -
Haydz - 25.11.2010
Put these under OnGameModeinit, however you can only have 400 createobjects, if you want more you will have to use a streamer, you will still put the objects under OnGameModeinit, just createobject may be createdynamicobject.
Re: [Q] Adding Maps -
xsxbluexsx - 25.11.2010
Thanks, Can you tell me more about 'Streamer'
Re: [Q] Adding Maps -
iFriSki - 25.11.2010
I suggest having all your objects load from a filter-script for maps. It makes making updates a lot easier without annoying restarts.
Oh, and for a streamer, I do suggest using Incognito's streamer. It's simply the best there is.
https://sampforum.blast.hk/showthread.php?tid=102865
Re: [Q] Adding Maps -
xsxbluexsx - 25.11.2010
Yea i have the streamer plugin allready is there any conversions i have to do or i just add a filter script?
Re: [Q] Adding Maps -
Haydz - 26.11.2010
Quote:
Originally Posted by xsxbluexsx
Yea i have the streamer plugin allready is there any conversions i have to do or i just add a filter script?
|
You can add it either to your gamemode under "OnGameModeinit" or in a fliterscript "OnFliterscriptinit"
Re: [Q] Adding Maps -
[UG]Scripter - 26.11.2010
Okay Follow this Tut:
1) Open your map file in MTA San Andreas/Server/Mod/Resources/ < Map Name>/
2) open it in Notepad
3) goto
http://convertffs.com/
4) change the Output to Incognitos Plugin
5) Paste Map Data
6) Click Convert
7) Copy Converted Data & paste Data under OnGameModeInit or OnFilterScriptInit.