31.05.2011, 23:13
hey guys im trying to make this Stuff which won't Allow a player to use offensive/bad language, so here is it what i made, but the problem is, compiling shows errors, here is my code :
Errors :
pawn Код:
if(text[0] == 'fuck') {
SendClientMessage(playerid, yellow, "That's Not Allowed In This Server");
return 0;
}
pawn Код:
L:\SAGW\filterscripts\XtremeAdmin2.pwn(1163) : error 027: invalid character constant
L:\SAGW\filterscripts\XtremeAdmin2.pwn(1163) : error 017: undefined symbol "uck"
L:\SAGW\filterscripts\XtremeAdmin2.pwn(1163) : error 029: invalid expression, assumed zero
L:\SAGW\filterscripts\XtremeAdmin2.pwn(1163) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.