Help Me To Fix This Problem +rep
#1

Hey There
I have problem with my gamemode after compile
Код HTML:
C:\Documents and Settings\Administrator\Desktop\GONDOG\yeah.pwn(3195) : error 027: invalid character constant
C:\Documents and Settings\Administrator\Desktop\GONDOG\yeah.pwn(3195) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\GONDOG\yeah.pwn(3195) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\GONDOG\yeah.pwn(3195) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
How To Fix It
this my code
Код:
	new word[256],Index;while(Index < strlen(text))
	{
		word = strtok(text,Index);
		if(CheckAdv(word)==1)
		{
			new i=strfind(text,word),j=i+strlen(word)-1; text[i++]='[';
			while(i<j) {text[i]='•';i++;}
			text[j]=']';
			Kick(playerid);
			new string[128];
			new pNamer[MAX_PLAYER_NAME];
			GetPlayerName(playerid, pNamer, sizeof(pNamer));
			format(string, sizeof(string), "{F20000}[SERVER]:- {FFFF00}%s[%d] {FFFFFF}Telah Di Kick/Banned {F20000}• {FFFF00}Alasan: IP Adverstiment", pNamer, playerid);
			SendClientMessageToAll(-1, string);
		}
	}
I really need your help guys
___________________
[Image: andasangatcoegsekalicoeg2.png]
Reply
#2

can you show full 3195 line please?
Reply
#3

PHP код:
new word[256],Index;while(Index strlen(text))
    {
        new 
word strtok(text,Index);
        if(
CheckAdv(word)==1)
        {
            new 
i=strfind(text,word),j=i+strlen(word)-1text[i++]='[';
            while(
i<j) {text[i]='•';i++;}
            
text[j]=']';
            
Kick(playerid);
            new 
string[128];
            new 
pNamer[MAX_PLAYER_NAME];
            
GetPlayerName(playeridpNamersizeof(pNamer));
            
format(stringsizeof(string), "{F20000}[SERVER]:- {FFFF00}%s[%d] {FFFFFF}Telah Di Kick/Banned {F20000}• {FFFF00}Alasan: IP Adverstiment"pNamerplayerid);
            
SendClientMessageToAll(-1string);
        }
    } 
Reply
#4

Quote:
Originally Posted by jlalt
Посмотреть сообщение
can you show full 3195 line please?
this bro
Код HTML:
while(i<j) {text[i]='•';i++;}
______________________
[Image: andasangatcoegsekalicoeg2.png]
Reply
#5

Didn't you forgot a ";" ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)