SA-MP Forums Archive
Errors, need help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Errors, need help. (/showthread.php?tid=199239)



Errors, need help. - Soldier9221 - 14.12.2010

Код:
C:\Users\Sonny\Desktop\Server\MP\gamemodes\Test3.pwn(172) : error 029: invalid expression, assumed zero
C:\Users\Sonny\Desktop\Server\MP\gamemodes\Test3.pwn(172 -- 173) : error 008: must be a constant expression; assumed zero
C:\Users\Sonny\Desktop\Server\MP\gamemodes\Test3.pwn(1679) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Sonny\Desktop\Server\MP\gamemodes\Test3.pwn(3704) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Those are the errors it gives me.
Here is lines 170-180:
Код:
         "Be sure to thank Kurtx_Cobain for thie server!",
}
enum espawn
{
	Float:ex,
	Float:ey,
	Float:ez,
	interior,
	emsg[128]
};
new spawns[][espawn] = {
Could someone please help?


Re: Errors, need help. - Shadow_ - 14.12.2010

Код:
enum ESpawn
{
     Float:ex,
     Float:ey,
     Float:ez,
     interior,
     emsg[128]
};

new Something[][ESpawn];
Also you're to Warnings you need to make a forward OnPlayerPrivmsg and same for the other one.


Re: Errors, need help. - Soldier9221 - 14.12.2010

I did what you said and it gave me three errors.