12.06.2015, 17:41
Sorry for post a lot of my problem here I really tried without come and ask here!
But didn't fix the problem
This 1404 line
But didn't fix the problem
Код:
D:\My server\gamemodes\TDM_Script.pwn(1401) : error 029: invalid expression, assumed zero D:\My server\gamemodes\TDM_Script.pwn(1401) : warning 215: expression has no effect D:\My server\gamemodes\TDM_Script.pwn(1401) : error 001: expected token: ";", but found "]" D:\My server\gamemodes\TDM_Script.pwn(1401) : error 029: invalid expression, assumed zero D:\My server\gamemodes\TDM_Script.pwn(1401) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
CMD:asay(playerid, params[]) { new tmp[256], playername[25], tmp2[256],string[256]; if (adlvl[playerid] < 1) return 0; if (sscanf(params, "s[128]", tmp)) return SendClientMessage2(playerid, COLOR_WHITE, "Usage: /asay [message]"); GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(tmp2, sizeof(tmp2), "say %s", tmp); SendRconCommand(tmp2); if(adminuc[playerid] == 0) { format(string, 128, "Admin Log: [asay] %s: %s.", playername, tmp); SendMessageToAdmins(COLOR_ADMIN, string); } printf("[asay] %s: %s", playername, tmp); return 1; }
Код:
if(adminuc[playerid] == 0)