SA-MP Forums Archive
Help pls - 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 pls (/showthread.php?tid=317436)



Help pls - DarkB0y - 11.02.2012

i have add a map in to my server but an error comes
Код:
C:\Documents and Settings\bob\Desktop\Satdm\SATDM~0RP 0.3d\Gamemodes\SATDM_v9.5.pwn(44901) : error 021: symbol already defined: "CreateDynamicObject"
Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


1 Error.
i have try alot but still


Re: Help pls - Tanush123 - 11.02.2012

show the error line... we cannot read your script, i think you can download streamer again and try draging the include and plugin to your server. if you still have a problem just show the error line


Re: Help pls - DarkB0y - 11.02.2012

This i used for FS
Код:
C:\Documents and Settings\bob\Desktop\STUNT\stunt 0.3d\pawno\new.pwn(224) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


1 Error.
And this i used for my GM
Код:
C:\Documents and Settings\bob\Desktop\Satdm\SATDM~0RP 0.3d\Gamemodes\SATDM_v9.5.pwn(44901) : error 021: symbol already defined: "CreateDynamicObject"
Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: Help pls - Tanush123 - 11.02.2012

I said show the error line, go on your gamemode and do (l-ctrl + g), then type in 44901 and copy that line. You cannot get help faster if you don't have the error line


Re: Help pls - DarkB0y - 11.02.2012

Код:
CreateDynamicObject(18450,1334.15734900,-1203.15039100,201.09379600,0.00000000,0.00000000,0.00000000); //delux object
This the line have the error


Re: Help pls - Tanush123 - 11.02.2012

Umm, do you have stock CreateDynamicObject...? if so remove that line, or try reinstalling streamer, or try convert CreateDynamicObject to CreateObject


Re: Help pls - DarkB0y - 11.02.2012

what is this stock CreateDynamicObject ?
and if i do CreateObject it will have the same error and the same line


Re: Help pls - Tanush123 - 11.02.2012

Umm do you have 0.3c or 0.3d or 0.3b


Re: Help pls - Vince - 11.02.2012

Copying your map and randomly pasting it somewhere in your code does not work! Put it in OnFilterScriptInit/OnGameModeInit.


Re: Help pls - DarkB0y - 11.02.2012

i add it
public OnGameModeInit
It Shows the error
Код:
C:\Documents and Settings\bob\Desktop\Satdm\SATDM~RP v13.5\Gamemodes\SATDM_v13.pwn(50717) : error 021: symbol already defined: "zcmd_OnGameModeInit"
C:\Documents and Settings\bob\Desktop\Satdm\SATDM~RP v13.5\Gamemodes\SATDM_v13.pwn(50717) : warning 209: function "zcmd_OnGameModeInit" should return a value
C:\Documents and Settings\bob\Desktop\Satdm\SATDM~RP v13.5\Gamemodes\SATDM_v13.pwn(50718) : error 021: symbol already defined: "CreateDynamicObject"
Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


2 Errors.
lines
Код:
CreateDynamicObject(18450,1328.21655300,-1172.94177200,201.10565200,0.00000000,0.00000000,-337.50078922); //delux object(1)
Код:
CreateDynamicObject(18450,1334.15734900,-1203.15039100,201.09379600,0.00000000,0.00000000,0.00000000); //delux object