SA-MP Forums Archive
plis help me - 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: plis help me (/showthread.php?tid=494953)



plis help me - Ben_Leto - 15.02.2014

helleo all
plis help me
i will a added for this script my gamemode

Код HTML:
if(response)
{
	switch(dialogid == CLS)
	{
	case 1:
	{
	    switch(listitem)
	    {
	        case 0:
	        {
         	if(GetPlayerScore(playerid) < 50) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FF3300} >Shecdoma<", "{33FFCC} Tqven AR Gaqvt Sakmarisi Score.","OK","Cancel");
            }
	        case 1:
	        {
	        if(GetPlayerScore(playerid) < 50) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FF3300} >Shecdoma<", "{33FFCC} Tqven AR Gaqvt Sakmarisi Score.","OK","Cancel");
         	}
			case 2:
			{
   			if(GetPlayerScore(playerid) < 50) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FF3300} >Shecdoma<", "{33FFCC} Tqven AR Gaqvt Sakmarisi Score.","OK","Cancel");
         	}
			case 3:
			{
   			if(GetPlayerScore(playerid) < 50) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FF3300} >Shecdoma<", "{33FFCC} Tqven AR Gaqvt Sakmarisi Score.","OK","Cancel");
	        }
	        case 4:
			{
   			if(GetPlayerScore(playerid) < 50) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FF3300} >Shecdoma<", "{33FFCC} Tqven AR Gaqvt Sakmarisi Score.","OK","Cancel");
	        }
   			case 5:
			{
   			if(GetPlayerScore(playerid) < 50) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FF3300} >Shecdoma<", "{33FFCC} Tqven AR Gaqvt Sakmarisi Score.","OK","Cancel");
	        }
			case 6:
			{
   			if(GetPlayerScore(playerid) < 50) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{FF3300} >Shecdoma<", "{33FFCC} Tqven AR Gaqvt Sakmarisi Score.","OK","Cancel");
	        
	        }
		}
	}
}
and i complie for error
Код HTML:
C:\Users\kaxo1_000\Desktop\Terorist Vs Swat\gamemodes\GM1.pwn(597) : error 017: undefined symbol "GetPlayerHighestScores"
C:\Users\kaxo1_000\Desktop\Terorist Vs Swat\gamemodes\GM1.pwn(900) : error 029: invalid expression, assumed zero
C:\Users\kaxo1_000\Desktop\Terorist Vs Swat\gamemodes\GM1.pwn(900) : error 017: undefined symbol "GetPlayerHighestScores"
C:\Users\kaxo1_000\Desktop\Terorist Vs Swat\gamemodes\GM1.pwn(900) : error 029: invalid expression, assumed zero
C:\Users\kaxo1_000\Desktop\Terorist Vs Swat\gamemodes\GM1.pwn(900) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Line 597 GetPlayerHighestScores(playerScores, 0, index);
Line 900 stock GetPlayerHighestScores(array[][rankingEnum], left, right)

plis help me
sory for my bad english


Re: plis help me - Raza2013 - 15.02.2014

well, first of all i can't see any GetPlayerHighestScore functions either you forgoted to put.


Re: plis help me - Ben_Leto - 15.02.2014

raza plis help pliss