SA-MP Forums Archive
How to install a map to your server. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to install a map to your server. (/showthread.php?tid=108683)



How to install a map to your server. - Dynamic - 15.11.2009

'oi,

I downloaded a map with
CreateObject(1365,2136.773,-1627.329,13.533,0.0,0.0,-21.486);
like this, i putted it in a filterscript and this is what i get:

C:\Documents and Settings\Admin\Mijn documenten\SAMP Server\filterscripts\crashtruck.pwn(233) : error 021: symbol already defined: "CreateObject"
how can i fix this?


Re: How to install a map to your server. - dirkblok - 15.11.2009

add all the CreateObjects below OnGamemodeInit()

Then it should work.

If you want it in a filterscript add it below OnFilterScriptInit()

I hope I helped you out