SA-MP Forums Archive
Score System - 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: Score System (/showthread.php?tid=343433)



Score System - MechaTech - 17.05.2012

Hey, i have some problems with my rank system:

Код:
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(139) : error 017: undefined symbol "Private"
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(140) : error 017: undefined symbol "Corporal"
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(141) : error 017: undefined symbol "Sergenteant"
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(142) : error 017: undefined symbol "Captain"
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(143) : error 017: undefined symbol "Brigadier"
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(144) : error 017: undefined symbol "General"
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(146) : error 017: undefined symbol "gPlayerLogged"
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(146) : warning 215: expression has no effect
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(146) : error 001: expected token: ";", but found "]"
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(146) : error 029: invalid expression, assumed zero
C:\Users\Magdy\Desktop\Server 3.0e\filterscripts\Ranks.pwn(146) : fatal error 107: too many error messages on one line
pawn Код:
line: 139   TextDrawShowForPlayer(playerid, Private);
line: 140   TextDrawShowForPlayer(playerid, Corporal);
line: 141   TextDrawShowForPlayer(playerid, Sergenteant);
line: 142   TextDrawShowForPlayer(playerid, Captain);
line: 143   TextDrawShowForPlayer(playerid, Brigadier);
line: 144   TextDrawShowForPlayer(playerid, General);
line: 145
line: 146   if(gPlayerLogged[playerid] == 0) {



Re: Score System - .FuneraL. - 17.05.2012

Symbol's not Defined, in Top of Mode:

pawn Код:
new Text:Private;
new Text:Corporal;
new Text:Sergenteant;
new Text:Captain;
new Text:Brigadier;
new Text:General;

if(gPlayerLogged[playerid] == 0)
{
    //Rest of Function
}



Re: Score System - MechaTech - 17.05.2012

I already have that.