[POMOC]3 Warninga

Započeo ., Oktobar 07, 2011, 10:52:19 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

.

*

Skripta koju koristim: San Andreas RPG/DM Edit
Detaljan opis problema: Warninzi
Dio skripte:
new ftext[20];

if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ftext = "BALLAS GANG"; }
            else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { ftext = "POLICE DEPARTMENT"; }
    else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) { ftext = "VAGOS GANG"; }
    else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { ftext = "KGB"; }
    else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { ftext = "LA COSA NOSTRA"; }
    else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { ftext = "GROVE GANG"; }
    else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { ftext = "HITMAN AGENCY"; }
    else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { ftext = "CNN"; }
    else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) { ftext = "YAKUZA"; }



new ftext[20];

if(PlayerInfo[playerid][pLeader] == 1) { ftext = "POLICE DEPARTMENT"; PlayerInfo[para1][pChar] = 71; SetPlayerSkin(para1, 71); }
        else if(PlayerInfo[playerid][pLeader] == 2) {  ftext = "VAGOS GANG"; PlayerInfo[para1][pChar] = 110; SetPlayerSkin(para1, 110); }
        else if(PlayerInfo[playerid][pLeader] == 3) {  ftext = "KGB"; PlayerInfo[para1][pChar] = 33; SetPlayerSkin(para1, 33); }
        else if(PlayerInfo[playerid][pLeader] == 4) {  ftext = "BALLAS GANG"; PlayerInfo[para1][pChar] = 102; SetPlayerSkin(para1, 102); }
        else if(PlayerInfo[playerid][pLeader] == 5) {  ftext = "LA COSA NOSTRA"; PlayerInfo[para1][pChar] = 111; SetPlayerSkin(para1, 111); }
        else if(PlayerInfo[playerid][pLeader] == 6) {  ftext = "GROVE STREET"; PlayerInfo[para1][pChar] = 107; SetPlayerSkin(para1, 107); }
        else if(PlayerInfo[playerid][pLeader] == 7) { ftext = "GRADSKA SLUZBA"; PlayerInfo[para1][pChar] = 10; SetPlayerSkin(para1, 10); }
else if(PlayerInfo[playerid][pLeader] == 8) {  ftext = "HITMAN AGENCY"; PlayerInfo[para1][pChar] = 112; SetPlayerSkin(para1, 112); }
        else if(PlayerInfo[playerid][pLeader] == 9) {  ftext = "CNN STUDIO"; PlayerInfo[para1][pChar] = 188; SetPlayerSkin(para1, 188); }
        else if(PlayerInfo[playerid][pLeader] == 10) { ftext = "YAKUZA MAFIA"; PlayerInfo[para1][pChar] = 123; SetPlayerSkin(para1, 123); }
        else if(PlayerInfo[playerid][pLeader] == 11) { ftext = "LICENSERI"; PlayerInfo[para1][pChar] = 59; SetPlayerSkin(para1, 59); }

Neke slike/video za lakse dobivanje pomoci(neobavezno):
C:\Users\Davor\Desktop\berpg4.pwn(29543) : warning 219: local variable "ftext" shadows a variable at a preceding level
C:\Users\Davor\Desktop\berpg4.pwn(30452) : warning 219: local variable "ftext" shadows a variable at a preceding level

Probaj samo da uneses ovo u google:
Citat
shadows a variable at a preceding level
i nasao si resenje, kao sto sam ja ovo. Ili koristi trazilicu...