warning 219: local variable "yona" shadows a variable at a preceding level
#3

Код:
if(!strcmp(npcname, "Yona_Gery", true)) 
        {
            SetPlayerSkin(playerid, 4);
            PutPlayerInVehicle(playerid, yona, 0); 
            new Text3D:PTD1 = Create3DTextLabel("Yona_Gery (313)",0xFFFFFFFF,30.0,40.0,50.0,40.0,0); ((-----Line error
        	Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.2);
	}
        if(!strcmp(npcname, "Tiger_Nords", true)) 
        {
            SetPlayerSkin(playerid, 61);
            PutPlayerInVehicle(playerid, tiger, 0); 
            new Text3D:PTD1 = Create3DTextLabel("Tiger_Nords (313)",0xFFFFFFFF,30.0,40.0,50.0,40.0,0); ((-----Line of error
        	Attach3DTextLabelToPlayer(PTD1, playerid, 0.0, 0.0, 0.2);
	}
Reply


Messages In This Thread
warning 219: local variable "yona" shadows a variable at a preceding level - by vegaltasendai - 10.04.2014, 23:52
Re: warning 219: local variable "yona" shadows a variable at a preceding level - by AhmedMohamed - 11.04.2014, 00:12
Re: warning 219: local variable "yona" shadows a variable at a preceding level - by NTVbeleza - 11.04.2014, 00:21
Re: warning 219: local variable "yona" shadows a variable at a preceding level - by vegaltasendai - 11.04.2014, 00:37

Forum Jump:


Users browsing this thread: 1 Guest(s)