Help Me To Fix This Problem +rep - 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: Help Me To Fix This Problem +rep (
/showthread.php?tid=590186)
Help Me To Fix This Problem +rep -
TitanZ - 26.09.2015
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
___________________
Re: Help Me To Fix This Problem +rep -
jlalt - 26.09.2015
can you show full 3195 line please?
Re : Help Me To Fix This Problem +rep -
KillerDVX - 26.09.2015
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)-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);
}
}
Re: Help Me To Fix This Problem +rep -
TitanZ - 26.09.2015
Quote:
Originally Posted by jlalt
can you show full 3195 line please?
|
this bro
Код HTML:
while(i<j) {text[i]='•';i++;}
______________________
Re : Help Me To Fix This Problem +rep -
KillerDVX - 27.09.2015
Didn't you forgot a ";" ?