[pomoc]1 error

Započeo [AS]Benac, April 14, 2013, 19:34:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:zbrp
Detaljan opis problema:neznm rijesiti 1 errr dole imate komandu i error
Dio skripte:
    if (strcmp(cmd, "/gamesages", true) == 0 )
	{
        if(IsPlayerConnected(playerid))
	    {
	        SendClientMessage(playerid, COLOR_BLUE, "__________Online GameSage's__________");
			foreach (Player, i)
			{
				if(IsPlayerConnected(i))
				{
				    if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] < 5)
				    {
				        new admtext[128];
			         	if(PlayerInfo[i][pAdmin] == 4) { admtext = "4"; }
				        else if(PlayerInfo[i][pAdmin] == 3) { admtext = "3"; }
				        else if(PlayerInfo[i][pAdmin] == 2) { admtext = "2"; }
						else if(PlayerInfo[i][pAdmin] == 1) { admtext = "1"; }
						else { admtext = "GameSage"; }
						GetPlayerName(i, sendername, sizeof(sendername));
						//if(gmDuty[i] == 5)
						{
							format(string, 256, "GameSage: {FFFFFF}%s | {48E31C}Level: {FFFFFF}%s ", sendername, admtext);
							SendClientMessage(playerid, COLOR_BLUE, string);
						}
						else //vamo BACA ERROR
						{
						    format(string, 256, "GameSage: {FFFFFF}%s | {48E31C}Level: {FFFFFF}%s ", sendername, admtext);
							SendClientMessage(playerid, COLOR_BLUE, string);
	                    }
					}
				}
			}
		}
		return 1;
	}

Error
C:\Documents and Settings\Pedro Diniz\Desktop\ASRP 1.1\MOD\gamemodes\ZBRP.pwn(48013) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664     Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Neke slike/video za lakse dobivanje pomoci(neobavezno):

probaj ovako


    if (strcmp(cmd, "/gamesages", true) == 0 )
	{
        if(IsPlayerConnected(playerid))
	    {
	        SendClientMessage(playerid, COLOR_BLUE, "__________Online GameSage's__________");
			foreach (Player, i)
			{
				if(IsPlayerConnected(i))
				{
				    if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] < 5)
				    {
				        new admtext[128];
			         	if(PlayerInfo[i][pAdmin] == 4) { admtext = "4"; }
				        else if(PlayerInfo[i][pAdmin] == 3) { admtext = "3"; }
				        else if(PlayerInfo[i][pAdmin] == 2) { admtext = "2"; }
						else if(PlayerInfo[i][pAdmin] == 1) { admtext = "1"; }
						else { admtext = "GameSage"; }
						GetPlayerName(i, sendername, sizeof(sendername));
						if(gmDuty[i] == 5)
						{
							format(string, 256, "GameSage: {FFFFFF}%s | {48E31C}Level: {FFFFFF}%s ", sendername, admtext);
							SendClientMessage(playerid, COLOR_BLUE, string);
						}
						else //vamo BACA ERROR
						{
						    format(string, 256, "GameSage: {FFFFFF}%s | {48E31C}Level: {FFFFFF}%s ", sendername, admtext);
							SendClientMessage(playerid, COLOR_BLUE, string);
	                    }
					}
				}
			}
		}
		return 1;
	}
Other Dimension RolePlay | Uskoro
Ukoliko zelite pomoci u razvoju servera, mozete se meni javit na PP/PM!