Probleme With [Zombie Apocalypse]
#1

Hi all,
i downlaod Zombie Apocalypse GM from there https://sampforum.blast.hk/showthread.php?tid=389797

i get these Files
i copy server file {GameMode - Filterscript - script fille} int my server root
But i found that probleme
Код:
D:\SAMP Server\DM GM alot of cmd\DeathMatch\pawno\include\YSI\y_va/impl.inc(568) : warning 219: local variable "time" shadows a variable at a preceding level
D:\SAMP Server\DM GM alot of cmd\DeathMatch\pawno\include\YSI\y_va/impl.inc(573) : warning 219: local variable "time" shadows a variable at a preceding level
D:\SAMP Server\DM GM alot of cmd\DeathMatch\pawno\include\YSI\y_hooks/impl.inc(2624) : warning 219: local variable "time" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Line of Error
Код:
		if(IsPlayerInAnyVehicle(i))
	    {
			if(pInfo[i][pAdminLevel] == 0)
			{
				Kick(i);
			}
		}

		if(pInfo[i][pVipFlash] == 1)
  		{
    		switch(random(2))
   			{
				case 0: SetPlayerColor(i,COLOR_YELLOW);
				case 1: SetPlayerColor(i,COLOR_RED);
			}
		}

		DoctorShield();
		UpdateAliveInfo();
	}
	return 1;
}
+++
Код:
CMD:report(playerid,params[])
{
	new string[256];
	strcat(string,"Racism\nOffensive Language\nAirbraking - Hacks\nHealth Hacks\nArmour Hacks\nWeapon Hacks\nSpawn Killing\nBug Abusing");
	ShowPlayerDialog(playerid,DIALOG_REPORT,DIALOG_STYLE_LIST,"Select an valid reason!",string,"Select","Cancel");
	return 1;
}
+ i asking if i need to add filterscripts on server.cfg ? like that ? =>
please HELP me i'm a new scripteur Here and thanks you ♥
Reply
#2

Some help plz
Reply
#3

You're calling a new variable twice, "time" is the variable.

Search in your script for
pawn Код:
new time;
And change it to something else anything that reads/access it.

Or, you can do the exact same thing inside your include of YSI.
You already have the line codes there.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)