Some errors..
#1

Sorry for post a lot of my problem here I really tried without come and ask here!
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;
}
This 1404 line
Код:
 if(adminuc[playerid] == 0)
Reply


Messages In This Thread
Some errors.. - by KamalBa - 12.06.2015, 17:41
Re: Some errors.. - by [KHK]Khalid - 12.06.2015, 17:46
Re: Some errors.. - by Huba - 12.06.2015, 18:04
Re: Some errors.. - by [KHK]Khalid - 12.06.2015, 19:00
Re: Some errors.. - by KamalBa - 12.06.2015, 19:03
Re: Some errors.. - by JaydenJason - 12.06.2015, 19:18
Re: Some errors.. - by [KHK]Khalid - 12.06.2015, 19:19
Re: Some errors.. - by KamalBa - 12.06.2015, 19:24
Re: Some errors.. - by KamalBa - 12.06.2015, 19:28
Re: Some errors.. - by bgedition - 12.06.2015, 19:28

Forum Jump:


Users browsing this thread: 3 Guest(s)