Probleme With [Zombie Apocalypse] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Probleme With [Zombie Apocalypse] (
/showthread.php?tid=492737)
Probleme With [Zombie Apocalypse] -
Need4samp - 05.02.2014
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 ♥
Re: Probleme With [Zombie Apocalypse] -
Need4samp - 05.02.2014
Some help plz
Re: Probleme With [Zombie Apocalypse] -
BullseyeHawk - 05.02.2014
You're calling a new variable twice, "time" is the variable.
Search in your script for
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.