[HELP] Can't complie .pwn to .amx...
#1

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
Reply
#2

What gamemode are you using?

If it is your game mode post the code...

We can't help much with just the errors
Reply
#3

You have two times defined dcmd and COLOR_GREEN, two times OnPlayerConnect, OnPlayerCommandText, GetVehicleModelIDFromName and strtok in your gamemode/filterscript.
Reply
#4

if your using m one of my old modes there's the final version out that came out yesterday
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)