if (strcmp("/Clearchat", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pAdminLevel] >= 1) {
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_WHITE, " ");
GameTextForAll("Chat cleared By An Admin!", 1000,1);
return 1;
}
return 0;
}
D:\Gta\Pwano\filterscripts\BJAdmSystem.pwn(137) : error 017: undefined symbol "PlayerInfo" D:\Gta\Pwano\filterscripts\BJAdmSystem.pwn(137) : warning 215: expression has no effect D:\Gta\Pwano\filterscripts\BJAdmSystem.pwn(137) : error 001: expected token: ";", but found "]" D:\Gta\Pwano\filterscripts\BJAdmSystem.pwn(137) : error 029: invalid expression, assumed zero D:\Gta\Pwano\filterscripts\BJAdmSystem.pwn(137) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
if (strcmp(cmdtext, "/Clearchat", true, 10) == 0) { if(PlayerInfo[playerid][pAdminLevel] >= 1) { for(new i =0; i<=11; i++) SendClientMessageToAll(COLOR_WHITE, " "); GameTextForAll("Chat cleared By An Admin!", 1000,1); return 1; } return 0; }
BASITJALIL's signature Searching For a good Community I'll Script for free Requirements Must Have 10 Players Online In Night Must Hosted |