SA-MP Forums Archive
HELP ! - 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 ! (/showthread.php?tid=91548)



HELP ! - The_Tough - 15.08.2009

http://pastebin.com/m16a9bf01

I get warnings of tag mismatch and edundant code: constant expression is zero

Код:
enum PlayerInfo
{
	Registered,
	Password,
	Loggined,
	Level,
	Banned,
	Muted
};
new PlayerData[MAX_PLAYERS][PlayerInfo];
what is wrong ?Please help


Re: HELP ! - [BDC]Scarface - 15.08.2009

Код:
enum PlayerInfo
{
	Registered,
	Password,
	Loggined,
	Level,
	Banned,
	Muted
}

new PlayerData[MAX_PLAYERS][PlayerInfo];
Remove the semicolon from the enumeration.


Re: HELP ! - The_Tough - 16.08.2009

Didnt help,same 12 warnings of mismatch and edundant code: constant expression is zero and 1 of edundant code: constant expression is non-zero




Re: HELP ! - Backwardsman97 - 16.08.2009

The code you posted will compile fine. You must have errors elsewhere.


Re: HELP ! - The_Tough - 16.08.2009

ok heres the link of all my script

http://pastebin.com/mb4cb4c9

the dcmds and enumeration + stocks etc

please I really need ..




Re: HELP ! - Backwardsman97 - 16.08.2009

Gimme the file named 'other' in your includes folder and I'll fix the script for you.