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