22.02.2010, 17:47
hi,i have this errors
. the script is :
Код:
D:\Documents and Settings\ady\Desktop\s\gamemodes\WindMania.pwn(30070) : error 010: invalid function or declaration D:\Documents and Settings\ady\Desktop\s\gamemodes\WindMania.pwn(30072) : error 010: invalid function or declaration D:\Documents and Settings\ady\Desktop\s\gamemodes\WindMania.pwn(30074) : error 010: invalid function or declaration D:\Documents and Settings\ady\Desktop\s\gamemodes\WindMania.pwn(30100) : error 010: invalid function or declaration D:\Documents and Settings\ady\Desktop\s\gamemodes\WindMania.pwn(30102) : error 010: invalid function or declaration D:\Documents and Settings\ady\Desktop\s\gamemodes\WindMania.pwn(30105) : error 010: invalid function or declaration D:\Documents and Settings\ady\Desktop\s\gamemodes\WindMania.pwn(30108) : error 010: invalid function or declaration
Код:
//------------------[CC]-------------------------------------- if(strcmp(cmd, "/cc", true) == 0) { if(IsPlayerConnected(playerid)); { if(PlayerInfo[playerid][pAdmin] >= 3) { SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); SendClientMessageToAll(COLOR_GREEN, " "); GameTextForAll("Chat cleared!", 1000,1); return 1; } else { SendClientMessage(playerid, COLOR_RED, "You do not have permission to use that command!"); return 1; } } else { SendClientMessage(playerid, COLOR_RED, "You Must be logged in to use this command!"); } }