Jump to content

[DELETED]Warninguri,,,,


LucaPawn
 Share

Recommended Posts

Buna ziua fratele meu mai mic a umblat la gamemode iar acum am aceste warninguri si nu le dau de cap sincer ???? 

Warninguri: 

D:\GM burned protectie scoasa\gamemodes\adv.pwn(2542) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2543) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2547) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2548) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2556) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2557) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2561) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2562) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2572) : warning 219: local variable "i" shadows a variable at a preceding level
D:\GM burned protectie scoasa\gamemodes\adv.pwn(2573) : warning 219: local variable "i" shadows a variable at a preceding level

Cod : 
 

public OnPlayerClickTextDraw(playerid, Text:clickedid) {
    new str[180];
	for(new i = 1; i < 11; i++) {	
	if(opencase[playerid] == 1) {
		if(inceputcase[playerid] == 1) {
			SendClientMessage(playerid, -1, "Crate Box este in rulare. Asteapta pana se alege un premiu...");
			for(new i = 0; i < 3; i++) PlayerTextDrawShow(playerid, CratePTD[i]);
			for(new i = 0; i < 3; i++) TextDrawShowForPlayer(playerid, CrateTD[i]);
			}
			else {
			opencase[playerid] = 0;
			for(new i = 0; i < 3; i++) PlayerTextDrawHide(playerid, CratePTD[i]);
			for(new i = 0; i < 3; i++) TextDrawHideForPlayer(playerid, CrateTD[i]);
			TogglePlayerControllable(playerid, 1);
			CancelSelectTextDraw(playerid);
		}
	}
	if(goldcase[playerid] == 1) {
		if(inceputcase[playerid] == 1) {
			SendClientMessage(playerid, -1, "Crate Box este in rulare. Asteapta pana se alege un premiu...");
			for(new i = 0; i < 3; i++) PlayerTextDrawShow(playerid, CratePTD[i]);
			for(new i = 0; i < 3; i++) TextDrawShowForPlayer(playerid, CrateTD[i]);
			}
			else {
			goldcase[playerid] = 0;
			for(new i = 0; i < 3; i++) PlayerTextDrawHide(playerid, CratePTD[i]);
			for(new i = 0; i < 3; i++) TextDrawHideForPlayer(playerid, CrateTD[i]);
			TogglePlayerControllable(playerid, 1);
			CancelSelectTextDraw(playerid);
		}
	}
	if(openpskins[playerid] == 1) {
			openpskins[playerid] = 0;
			goldskin[playerid] = 0;
			bronzeskin[playerid] = 0;
			prskin[playerid] = 0;
			for(new i = 0; i < 8; i++) PlayerTextDrawHide(playerid, PskinsPTD[i]);
			for(new i = 0; i < 3; i++) TextDrawHideForPlayer(playerid, PskinsTD[i]);
			TogglePlayerControllable(playerid, 1);
			CancelSelectTextDraw(playerid);
		}	

 

Gamemode big edited: gamemode

Gamemode in Progress:  Click

 

1514677507_giphy.gif.da3eae379a134703555e92e982b342f2.gif

Link to comment
Share on other sites

Topic-ul a fost șters deoarece nu ai respectat modelul de postare. Te rugăm sa revii cu alt topic in care să respecți modelul.

Topic șters!

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...