[HELP] Can't complie .pwn to .amx... - 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: [HELP] Can't complie .pwn to .amx... (
/showthread.php?tid=115046)
[HELP] Can't complie .pwn to .amx... -
Majataka - 22.12.2009
When i press F5 in Pawno it gives me these errors
Код:
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(252) : warning 209: function "OnPlayerConnect" should return a value
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(489) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(497) : warning 201: redefinition of constant/macro (symbol "dcmd(%1,%2,%3)")
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(509) : error 052: multi-dimensional arrays must be fully initialized
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(2284) : error 021: symbol already defined: "OnPlayerConnect"
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(6513) : error 021: symbol already defined: "OnPlayerCommandText"
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(9647) : error 021: symbol already defined: "GetVehicleModelIDFromName"
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(12278) : error 025: function heading differs from prototype
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(12279) : error 021: symbol already defined: "strtok"
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(12294) : error 047: array sizes do not match, or destination array is too small
I:\Programfiler\Rockstar Games\GTA San Andreas\Server\gamemodes\Troy.pwn(13721) : warning 203: symbol is never used: "Shady91"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
And i dont konw how to fix them... Please help me
Re: [HELP] Can't complie .pwn to .amx... -
marharth - 22.12.2009
What gamemode are you using?
If it is your game mode post the code...
We can't help much with just the errors
Re: [HELP] Can't complie .pwn to .amx... -
M4S7ERMIND - 22.12.2009
You have two times defined dcmd and COLOR_GREEN, two times OnPlayerConnect, OnPlayerCommandText, GetVehicleModelIDFromName and strtok in your gamemode/filterscript.
Re: [HELP] Can't complie .pwn to .amx... -
troy52192 - 02.02.2010
if your using m one of my old modes there's the final version out that came out yesterday