Anti reclama script error's. - 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: Anti reclama script error's. (
/showthread.php?tid=433941)
Anti reclama script error's. -
Tyrexo - 30.04.2013
Hi guys,if i delete this line appear's all that erros, why?
" // --------------- Anti Reclama Open (By Cosmin)
if(FindIP((text))) /// Anti-Reclama
{
format(string, sizeof(string), "{30a030}[ProMyx]: {ff6347}%s a primit Ban Permanent. Motiv: Reclama.",sendername);
SendClientMessageToAll(0xFF6347FF,string);
PlayerInfo[playerid][pBanned] = 1;
BanLog(string);
Kick(playerid);
return 1;
}
// --------------- Anti Reclama Closed (By Cosmin)
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s", text);
ChatColor(20.0, playerid,string);
return 0;
}
return 1;
}
"
This errors appears if i delete that line from up :
/imageshack/img707/5310/33940825.jpg
I have to delete the line's from the image?
Re: Anti reclama script error's. -
Shoulen - 30.04.2013
You put too many closing braces '}'... next time close the code off in pawn tags