[Ajuda] error 029: invalid expression, assumed zero e outros 25 erros
#1

C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(1105 : warning 217: loose indentation
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(1105 : error 029: invalid expression, assumed zero
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(1105 : warning 215: expression has no effect
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(1105 : error 001: expected token: ";", but found "if"
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11065) : warning 217: loose indentation
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11091) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11093) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11095) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11097) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11099) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11101) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11105) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11109) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11113) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11117) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11121) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11125) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11132) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11136) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(1113 : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11141) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11144) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11147) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11149) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11152) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11154) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11157) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11159) : error 010: invalid function or declaration
C:\Users\Natan\Desktop\Brasil Power Hard\gamemodes\BPH.pwn(11162) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Код:
	if(aInfo[playerid][AdminL] == 1 || aInfo[playerid][Admin] == 1 || aInfo[playerid][Moderador] == 1 || aInfo[playerid][Ajudante] == 1 || aInfo[playerid][Corregedor] == 1)
	{
		if(aInfo[playerid][AdminL] == 1)
		{
		    {
	    		static Vchat[180], pname[MAX_PLAYER_NAME];
	    		GetPlayerName(playerid, pname, sizeof(pname));
	  	  		format(Vchat, sizeof(Vchat), "%s {00FF00}[DNO] {FFFFFF}[%i]: %s",pname,playerid, text);
	   	 		SendClientMessageToAll(GetPlayerColor(playerid), Vchat);
             	}
   					else if(aInfo[playerid][Admin] == 1)
            	{
    				static Vchat[180], pname[MAX_PLAYER_NAME];
	    			GetPlayerName(playerid, pname, sizeof(pname));
	  	  			format(Vchat, sizeof(Vchat), "%s {00FF00}[MOD] {FFFFFF}[%i]: %s",pname,playerid, text);
	   	 			SendClientMessageToAll(GetPlayerColor(playerid), Vchat);
			    }
      			else if(aInfo[playerid][Moderador] == 1)
            	{
    				static Vchat[180], pname[MAX_PLAYER_NAME];
	    			GetPlayerName(playerid, pname, sizeof(pname));
	  	  			format(Vchat, sizeof(Vchat), "%s {00FF00}[MOD] {FFFFFF}[%i]: %s",pname,playerid, text);
	   	 			SendClientMessageToAll(GetPlayerColor(playerid), Vchat);
			    }
            	else if(aInfo[playerid][Ajudante] == 1)
            	{
	    			static Vchat[180], pname[MAX_PLAYER_NAME];
	    			GetPlayerName(playerid, pname, sizeof(pname));
	  	  			format(Vchat, sizeof(Vchat), "%s {00FF00}[AJD] {FFFFFF}[%i]: %s",pname,playerid, text);
	   	 			SendClientMessageToAll(GetPlayerColor(playerid), Vchat);
			    }
		   	 	else if(aInfo[playerid][Corregedor] == 1)
			    {
	    			static Vchat[180], pname[MAX_PLAYER_NAME];
	    			GetPlayerName(playerid, pname, sizeof(pname));
	  	  			format(Vchat, sizeof(Vchat), "%s {00FF00}[CRG] {FFFFFF}[%i]: %s",pname,playerid, text);
	   	 			SendClientMessageToAll(GetPlayerColor(playerid), Vchat);
				}
			}
        }
        return 0;
    }
Reply


Messages In This Thread
error 029: invalid expression, assumed zero e outros 25 erros - by NATANGameron - 06.04.2017, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)