Clear chat
#1

Here is my code wtf is wrong
4 errors
pawn Код:
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;
}
Errors
Код:
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.
What's wrong
If someone know please tell me a right code
Reply


Messages In This Thread
Clear chat - by BASITJALIL - 06.05.2011, 07:18
Re: Clear chat - by Unknown1234 - 06.05.2011, 07:46
Re: Clear chat - by xRyder - 06.05.2011, 07:48
Re: Clear chat - by Unknown1234 - 06.05.2011, 08:10
Re: Clear chat - by Retardedwolf - 06.05.2011, 08:12
Re: Clear chat - by Unknown1234 - 06.05.2011, 08:15

Forum Jump:


Users browsing this thread: 1 Guest(s)