I need some help...
#1

Код:
 C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3852) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3856) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3869) : error 021: symbol already defined: "format"
C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3871) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.




Код:
	if(GetPlayerWantedLevel(ID) >= 4)
	{
	    SendClientMessage(playerid,COLOR_ERROR,"Bu oyuncuya ceza kesemezsin, /ke yazıp tutuklamalı ve /tu yazıp hapse atmalsın.");
	}else if(GetPlayerWantedLevel(playerid) >= 2 && GetPlayerWantedLevel(playerid) < 4)
            {
     SendClientMessage(playerid,COLOR_ERROR,"Bu oyuncuya ceza kesemezsin, /ke yazıp tutuklamalı ve /tu yazıp hapse atmalsın.");
            }
            return 1;
         }
How i can fix this error i need help
Reply
#2

PHP код:
if(GetPlayerWantedLevel[ID] >= 4)
{
     
SendClientMessage(playeridCOLOR_ERROR"Bu oyuncuya ceza kesemezsin, /ke yazıp tutuklamalı ve /tu yazıp hapse atmalsın.);
}
else if(GetPlayerWantedLevel[playerid] >= 2 && GetPlayerWantedLevel[playerid] < 4)  
{
     SendClientMessage(playerid,COLOR_ERROR,"
Bu oyuncuya ceza kesemezsin, /ke yaz&#305;p tutuklamalı ve /tu yazıp hapse atmalsın.");
}
return 
1
Reply
#3

Thanks u for quickly answer but,

Now :
Код:
 C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3843) : error 028: invalid subscript (not an array or too many subscripts): "GetPlayerWantedLevel"
C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3843) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3843) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3843) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\New Folder (15)\XS\gamemodes\SFCRRPG.pwn(3843) : fatal error 107: too many error messages on one line

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


4 Errors.
And 3843. line ;
Код:
 if(GetPlayerWantedLevel[ID] >= 4)
Reply
#4

Hmm, try this:

Код:
if(GetPlayerWantedLevel(playerid) >= 4)
{
     SendClientMessage(playerid, COLOR_ERROR, "Bu oyuncuya ceza kesemezsin, /ke yazıp tutuklamalı ve /tu yazıp hapse atmalsın.);
}
else if(GetPlayerWantedLevel(playerid) >= 2 && GetPlayerWantedLevel[playerid] < 4)  
{
     SendClientMessage(playerid,COLOR_ERROR,"Bu oyuncuya ceza kesemezsin, /ke yazıp tutuklamalı ve /tu yazıp hapse atmalsın.");
}
return 1;
Reply
#5

Thanks for quickly answers i like u lol
I fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)