SA-MP Forums Archive
Compile error - 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: Compile error (/showthread.php?tid=345777)



Compile error - [SRB]Genius - 26.05.2012

Check this guys,i need help

Код:
C:\Users\Marinko\Desktop\Branko\0.3d\gamemodes\PRO.pwn(122) : error 029: invalid expression, assumed zero
C:\Users\Marinko\Desktop\Branko\0.3d\gamemodes\PRO.pwn(128) : error 010: invalid function or declaration

Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
line 122
Код:
	SendClientMessage(playerid, COLOR_GRAD1, "   Nisi admin!");
		    	return 1;
			}
line 128
Код:
	}
    TextDrawShowForAll(textdraw);

  return 1;
}
What's wrong here ? please help me.


Re: Compile error - Jarnu - 26.05.2012

nothing seems wrong in both of the lines.. maybe the code before these lines may not closed properly? did you checked?


Re: Compile error - Saad_ - 26.05.2012

Post the codes again with proper indentation


Re: Compile error - [SRB]Genius - 26.05.2012

I resolve it,thanks anyway for trying to help,moderators can lock this post.