25.01.2015, 15:16
Hi, I'm always getting those 3 warnings, I tried redownloading of YSI. But the main problem is after I edited/translated some of the GM I get 26 errors. one of the main thing I did other than translating I have removed
and all
from strings. And also removed some of the random messages.
Lines
But I don't think problem are in those lines..
Can you help me with this bug? BTW, checked with bracketfinder - nope, they're all there.
Код:
#define chat
Код:
"chat"
Код:
C:\Users\Mantas\Desktop\SA-MP\WIN SRV\pawno\include\YSI\y_va/impl.inc(568) : warning 219: local variable "time" shadows a variable at a preceding level C:\Users\Mantas\Desktop\SA-MP\WIN SRV\pawno\include\YSI\y_va/impl.inc(573) : warning 219: local variable "time" shadows a variable at a preceding level C:\Users\Mantas\Desktop\SA-MP\WIN SRV\pawno\include\YSI\y_hooks/impl.inc(2624) : warning 219: local variable "time" shadows a variable at a preceding level C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(395) : error 017: undefined symbol "ClearChat" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(400) : error 017: undefined symbol "HumanSetup" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(402) : error 017: undefined symbol "CurePlayer" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(431) : error 017: undefined symbol "UpdateMapName" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(442) : error 017: undefined symbol "ClearObjects" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(443) : error 017: undefined symbol "DestroyAllVehicle" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(444) : error 017: undefined symbol "UnloadFilterScript" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(445) : error 017: undefined symbol "LoadMap" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(446) : error 017: undefined symbol "LoadFilterScript" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(453) : error 017: undefined symbol "ChangeCameraView" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(481) : error 017: undefined symbol "CreateEvacMaps" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(492) : error 017: undefined symbol "GetTeamPlayersAlive" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(503) : error 017: undefined symbol "GivePlayerXP" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(520) : error 017: undefined symbol "PlayerName" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(523) : error 017: undefined symbol "CurePlayer" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(524) : error 017: undefined symbol "GivePlayerXP" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(534) : error 017: undefined symbol "PlayerName" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(537) : error 017: undefined symbol "CurePlayer" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(538) : error 017: undefined symbol "GivePlayerXP" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(548) : error 017: undefined symbol "PlayerName" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(551) : error 017: undefined symbol "CurePlayer" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(552) : error 017: undefined symbol "GivePlayerXP" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(562) : error 017: undefined symbol "PlayerName" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(565) : error 017: undefined symbol "CurePlayer" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(566) : error 017: undefined symbol "GivePlayerXP" C:\Users\Mantas\Desktop\SA-MP\Windows Version [0.3z]\gamemodes\zm.pwn(609) : error 017: undefined symbol "IsValidWeapon"
Код:
function StartMap() { ClearChat(); foreach(Player,i) { SetCameraBehindPlayer(i); ClearAnimations(i); HumanSetup(i); SpawnPlayer(i); CurePlayer(i); SetPlayerDrunkLevel(i,0); DisablePlayerCheckpoint(i); pInfo[i][Boxes] = 2; pInfo[i][BoxesAdvanced] = 10; pInfo[i][SkinChanges] = 2; pInfo[i][ArmourChanges] = 2; pInfo[i][pVipBoxes] = 35; pInfo[i][pLadders] = 2; pInfo[i][pFakeKills] = 0; pInfo[i][pAmmoBoxes] = 10; pInfo[i][C4] = 4; pInfo[i][pTrapMasterTrap] = 1; pInfo[i][pScientistCure] = 1; pInfo[i][pDoctorShield] = 1; pInfo[i][pMapsPlayed]++; TextDrawHideForPlayer(i, ServerIntroOne[i]); TextDrawHideForPlayer(i, ServerIntroTwo[i]); DestroyPickup(meatDrops[i]); DestroyPickup(ammoDrops[i]); DestroyObject(DocShield); DestroyObject(Trap); TogglePlayerControllable(i,1); } time = MAX_MAPTIME; SetWeather(Map[Weather]); SetWorldTime(Map[Time]); UpdateMapName(); SendClientMessageToAll(-1,""COL_LGREEN" [Chat]"COL_WHITE" Chatas Iљvalytas "COL_YELLOW"[Prieћastis: Kitas roundas]"); SetTimer("RandomZombie",1000,false); gateobj = CreateObject(Map[GateID],Map[GateX],Map[GateY],Map[GateZ],Map[GaterX],Map[GaterY],Map[GaterZ],500.0); mapvar = SetTimer("OnMapUpdate",MAX_MAPUPDATE_TIME,true); balvar = SetTimer("OnMapBalance",MAX_BALANCERUPDATE_TIME,true); return 1; }
Can you help me with this bug? BTW, checked with bracketfinder - nope, they're all there.