[Pomoc] Warinzi

Započeo JusT, Septembar 07, 2011, 16:20:44 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

JusT

Skripta koju koristim:Columbus (moja)
Detaljan opis problema:Imam 9 waringa kako da ih rijesim
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):

warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level
warning 219: local variable "string" shadows a variable at a preceding level


if (strcmp("/admins", cmdtext, true, 10) == 0)
{
        if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_RED, "|____ Columbus DEATHMATCH Online Admin Tim ____|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
    if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] <= 4)
    {
        new admtext[64];
        {
                            if(PlayerInfo[i][pAdmin] == 4) { admtext = "Level Vlasnik";}
    else if(PlayerInfo[i][pAdmin] == 3) { admtext = "Level 3";}
else if(PlayerInfo[i][pAdmin] == 2) { admtext = "Level 2";}
else if(PlayerInfo[i][pAdmin] == 1) { admtext = "Level 1";}

}
GetPlayerName(i, sendername, sizeof(sendername));
{
format(string, sizeof(string), "{00C0FF}Admin:{FFFFFF} %s, %s", sendername, admtext);
SendClientMessage(playerid, COLOR_WHITE, string);
}
}
}
}
}
return 1;
}

samo obrisi vec ti je pprije negdje definiran string i zato ti izbacuje..