How can i add maps - 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: How can i add maps (
/showthread.php?tid=364650)
How can i add maps -
Pokiri_Boii - 31.07.2012
Hey Guys .. !!
How can i add map files of my own to the script ?? ... i am using SATDM v11.5 ! .. I know the objects are in /gamemode/includes.. !!
When i add my map there i get this error !!
Код:
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(3) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(3) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(4) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(4) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(5) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(5) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(6) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(6) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(7) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(7) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(8) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(8) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(9) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(9) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(10) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(10) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(11) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(11) : error 010: invalid function or declaration
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(12) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(13) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(14) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(15) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(16) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(17) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(18) : error 021: symbol already defined: "CreateDynamicObject"
D:\SATDM v11 SA-MP 0.3e\gamemodes\includes\objects.pwn(19) : error 021: symbol already defined: "CreateDynamicObject"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
..
How can i fix it ?? .. i want my map to be in my server..
[NOTE : I AM USING SATDM ]
Re: How can i add maps -
phillip875 - 31.07.2012
Post your code.
Re: How can i add maps -
Pokiri_Boii - 31.07.2012
I Am using SATDM.. !! any SATDM Experts ?
Re: How can i add maps -
Devilxz97 - 31.07.2012
you have this ?
Re: How can i add maps -
Pokiri_Boii - 31.07.2012
I added this .. Still the same errors showing up !
Re: How can i add maps -
farCry.xD - 31.07.2012
Man you have the maps at ongamemodeinit , no ?
I don't think the line 3 is ongamemodeinit..
Re: How can i add maps -
Vizh - 31.07.2012
Put your map code under public OnGameModeInit()
Re: How can i add maps -
Cxnnor - 31.07.2012
pawn Код:
public OnGameModeInit()
{
// Codes here
}
Re: How can i add maps -
Pokiri_Boii - 31.07.2012
Doesnt Work..
Re: How can i add maps -
Tika Spic - 31.07.2012
How do you compile an include file? Use SAVE AS > All Formats and type the name "objects.inc"