[Ajuda] Problema em compilaзгo de gamemode
#1

Entгo, Baixei um GM dб Net na qual precisava de alguns Includes, Baixei-o e Coloquei tudo certinho, Sу que quando fui compilar apareceu alguns Erros:

Код HTML:
C:\Users\----------\Desktop\----------\pawno\include\dof2.inc(1283) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\----------\Desktop\----------\pawno\include\dof2.inc(1314) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\----------\Desktop\----------\pawno\include\dof2.inc(1337) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\----------\Desktop\----------\pawno\include\progress.inc(170) : warning 217: loose indentation
C:\Users\----------\Desktop\----------\pawno\include\progress.inc(172) : warning 217: loose indentation
C:\Users\----------\Desktop\----------\gamemodes\--.pwn(1009) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Warning 1
Код HTML:
C:\Users\----------\Desktop\----------\pawno\include\dof2.inc(1283) : warning 219: local variable "string" shadows a variable at a preceding level

Parte do Erro:

       }
                }
                else{
                    SetPlayerColor(playerid, Cores[random(sizeof(Cores))]);
                }
            }else{
                SetPlayerColor(playerid, Cores[random(sizeof(Cores))]);
            }


        }

		return true;
    }
Warning 2
Код HTML:
C:\Users\----------\Desktop\----------\pawno\include\dof2.inc(1314) : warning 219: local variable "string" shadows a variable at a preceding level

Parte do Erro:

*?	    TogglePlayerControllable(playerid, false);
   	    SetPlayerPos(playerid, 1664.9783,-1247.0627,233.3750);
	    //SetPlayerFacingAngle(playerid, 267.8662);
	    //SetPlayerCameraLookAt(playerid,1851,-1246.9000244141, 234);
	    SetPlayerFacingAngle(playerid, 360.0);
	    InterpolateCameraPos	(playerid,   1851,-1246.9000244141, 234, 1678.5999755859, -1246.9000244141, 234, 10000, CAMERA_MOVE);
*/
Warning 3
Код HTML:
C:\Users\----------\Desktop\----------\pawno\include\dof2.inc(1337) : warning 219: local variable "string" shadows a variable at a preceding level

Parte do Erro

/*  ApplyPlayerAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
Warning 4-5 Juntos
Код HTML:
C:\Users\----------\Desktop\----------\pawno\include\progress.inc(170) : warning 217: loose indentation
C:\Users\----------\Desktop\----------\pawno\include\progress.inc(172) : warning 217: loose indentation

Parte dos Dois Erro Juntos:

		CreateGangZone("Bairro Policial", 2267.176, 2235.263, 2403.845, 2409.326,		UNIVERSAL_GZCOLOR, 1000);       //

		InitMapIconStreaming();

		AddTesouro(2662.1799,		745.9042,		10.3729,		900); // tesouro
Erro
Код HTML:
C:\Users\----------\Desktop\----------\gamemodes\--.pwn(1009) : error 025: function heading differs from prototype

Parte do Erro:

public OnPlayerTakeDamage(playerid, issuerid, Float:amount, Float:ArmourLost, weaponid){
Sou Iniciante nisso, Por isso nгo sei Muita coisa. Pelo que me falaram Mesmo quando aparece um "Warning" ele compila. Entгo queria pedir em Especial que me ajudasse na ultima do erro. Caso Tenha Paciкncia me ajude nas outras tambйm. Sua Ajudar serб Fundamental para meu conhecimento, Desde jб agradeзo '-' .
Reply


Messages In This Thread
Problema em compilaзгo de gamemode - by MangPlay - 25.05.2015, 16:44
Re: PRECISO DE AJUDA!!! TOOPPS CADК VOCКS? AJUDE-ME - by Felipe_Freeze - 25.05.2015, 16:51
Re: PRECISO DE AJUDA!!! TOOPPS CADК VOCКS? AJUDE-ME - by [BC]Vinny - 25.05.2015, 16:55
Re: PRECISO DE AJUDA!!! TOOPPS CADК VOCКS? AJUDE-ME - by MangPlay - 25.05.2015, 17:14
Re: Problema em compilaзгo de gamemode - by Lуs - 25.05.2015, 17:38
Re: Problema em compilaзгo de gamemode - by MangPlay - 25.05.2015, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)