C:\Users\CopKing\Desktop\MA ASS\pawno\include\YSI\y_va/impl.inc(568) : warning 219: local variable "time" shadows a variable at a preceding level C:\Users\CopKing\Desktop\MA ASS\pawno\include\YSI\y_va/impl.inc(573) : warning 219: local variable "time" shadows a variable at a preceding level C:\Users\CopKing\Desktop\MA ASS\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.
if(Map[EvacType] == 2) { SetPlayerPos(playerid,3024.4983,447.9744,14.7813); SetPlayerInterior(playerid,0); Line 568---------->format(string,sizeof(string), ""chat""COL_LIGHTBLUE" %s made it to the water evacuation point and has received 1 coin!",PlayerName(playerid)); SendClientMessageToAll(-1,string); DisablePlayerCheckpoint(playerid); CurePlayer(playerid); GivePlayerXP(playerid,50); pInfo[playerid][pEvac]++; <------------ Line 573 pInfo[playerid][pCoins]++; SetPlayerColor(playerid,COLOR_YELLOW); }
if(PRESSED(KEY_WALK)) { if(team[playerid] == TEAM_ZOMBIE) Line 2624 { if(pInfo[playerid][pZombieClass] == SCREAMERZOMBIE) { if(gettime() - 9 < Abilitys[playerid][ScreamerZombieAb]) return GameTextForPlayer(playerid,"~w~ Still recovering",1000,5); { foreach(Player,i) { switch(GetPlayerSkin(i)) { case NON_IMMUNE,285: {
Those errors come from other file, but are caused by your gamemode. Do you have global variable named "time"? If yes, find and replace all occurances of it in your script. https://github.com/Y-Less/YSI-Includ.../impl.inc#L578 y_va in YSI 3.1 apparently reserves that name.
|
// Defines #define function%0(%1) forward%0(%1);public%0(%1) #define NON_IMMUNE 69,14,261,2,107,11,125,6,299,43,124,12,13,280,230,274,27,25,95,260,149,29,161,76,23,115,287,67,200 #define MAX_MAPTIME 250 #define MAX_RESTART_TIME 10000 #define MAX_MAPUPDATE_TIME 1450 #define MAX_SHOW_CP_TIME 1000 #define MAX_END_TIME 60000 #define MAX_BALANCERUPDATE_TIME 6000 #define MAX_MAP_FILES 19 #define SCM SendClientMessage #define SCMTA SendClientMessageToAll