[POMOC] Warninzi i errori


Započeo MaTTaTa, Septembar 06, 2012, 22:35:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: CLRP
Detaljan opis problema: Moze pomoc oko warninga i errora
Dio skripte:

D:\SAMP Server\Skripte\Classic Life RolePlay (2)\King of Croatia\pawno\include\YSI\y_amx.inc(314) : warning 219: local variable "base" shadows a variable at a preceding level
D:\SAMP Server\Skripte\Classic Life RolePlay (2)\King of Croatia\pawno\include\YSI\y_amx.inc(362) : warning 219: local variable "base" shadows a variable at a preceding level
D:\SAMP Server\Skripte\Classic Life RolePlay (2)\King of Croatia\pawno\include\YSI\y_amx.inc(583) : warning 219: local variable "base" shadows a variable at a preceding level
D:\SAMP Server\Skripte\Classic Life RolePlay (2)\King of Croatia\pawno\include\GetVehicleColor.inc(109) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle")
D:\SAMP Server\Skripte\Classic Life RolePlay (2)\King of Croatia\pawno\include\GetVehicleColor.inc(112) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx")
D:\SAMP Server\Skripte\Classic Life RolePlay (2)\King of Croatia\pawno\include\GetVehicleColor.inc(115) : warning 201: redefinition of constant/macro (symbol "CreateVehicle")
D:\SAMP Server\Skripte\Classic Life RolePlay (2)\King of Croatia\gamemodes\KoC.pwn(68853) : error 021: symbol already defined: "NameTimer"


LINIJE

314 - new Shcar[13];
362 -     "King of Croatia - ~y~Ukoliko trebate pomoc pisite na ~w~/pomoc.",
583 - forward ShowStats(playerid,targetid);
109 - #define COLOR_MYORANGE 0xFF7F24FF
112 - #define COLOR_MOJABOJA 0x5F9EA0FF
115 - #define COLOR_CHAT2 0xE6A9ECAA
68856 - 	foreach (Player, i)
[/code]

NameTime - linije 68856 cijela komanda

public NameTimer()
{
	foreach (Player, i)
	{
		foreach (Player, q)
		{
 			new Float:p1x;
			new Float:p1y;
			new Float:p1z;
			new Float:p2x;
			new Float:p2y;
			new Float:p2z;
			if(IsPlayerConnected(i) && IsPlayerConnected(q))
			{
				GetPlayerPos(i,p1x,p1y,p1z);
    			GetPlayerPos(q,p2x,p2y,p2z);
				if(GetPointDistanceToPointExMorph(p1x,p1y,p1z,p2x,p2y,p2z) < pdistance)
				{
					if(PlayerInfo[q][pMaskuse] != 1)
	    			{
						ShowPlayerNameTagForPlayer(i,q,1);
					}
	    		}
				else
				{
					ShowPlayerNameTagForPlayer(i,q,0);
                }
            }
        }
	}
}


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




Capetroon.

Update incove, baca na inc ne u skripti, a tadnji error to je već definirano možeš izbrisati.