[AJUDA] Comando CNN
#1

Entao gente cnn й um TexDraw que o admin digita [/cnn(texto)] e aparece uma mensagem com o nome dele e a mensagem! eu tentei tirar os CNN de alguns FS de admin e etc... mais nao consigui pq pede um negocio de Stork
mais eu queria um CNN que o admin tem que estar logado na RCON tipo assim!

Код:
}
    if (strcmp(cmdtext,"/cnn", true)==0)
    {
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"[ATENЗГO] - Voce nao й Admin ! Tente mais uma que levara Ban");
    //comando cnn
    return 1;
}
Й mais ou menos assim que eu queria.. sem esses negocios de Stork!
Espero que me ajudem!
Reply
#2

PHP код:

strtok
(const string[], &index)
{
    new 
length strlen(string);
    while ((
index length) && (string[index] <= ' '))
    {
        
index++;
    }

    new 
offset index;
    new 
result[20];
    while ((
index length) && (string[index] > ' ') && ((index offset) < (sizeof(result) - 1)))
    {
        
result[index offset] = string[index];
        
index++;
    }
    
result[index offset] = EOS;
    return 
result;

Reply
#3

Mais cara! eu nao gosto de mexer com esse negocio de Strtok... da erro no gl_common.inc e Pakas! eu prefiro do jeito que eu disse ve se voce ou alguem poзa me ajuda..
Reply
#4

Nгo precisa o gl_comman e so colocar o
pawn Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }

    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
Sу pr aninguem desmentir eu ja testei , e testei ate mesmo com objetos atraidos ao player
Reply
#5

Acho que й isso que vocк quer:

PHP код:
if(strcmp(cmd"/cnn"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            if (
PlayerInfo[playerid][Admin] >= 3)
            {
                new 
string[500];
                
GetPlayerName(playeridsendernamesizeof(sendername));
                new 
length strlen(cmdtext);
                while ((
idx length) && (cmdtext[idx] <= ' '))
                {
                    
idx++;
                }
                new 
offset idx;
                new 
result[64];
                while ((
idx length) && ((idx offset) < (sizeof(result) - 1)))
                {
                    
result[idx offset] = cmdtext[idx];
                    
idx++;
                }
                
result[idx offset] = EOS;
                if(!
strlen(result))
                {
                    
SendClientMessage(playeridCOLOR_RED"USE: /cnn [texto]");
                    
SendClientMessage(playeridCOLOR_WHITE"~p~ (Roxo); ~r~ (Vermelho); ~b~ (Azul); ~g~ (Verde); ~b~ (Preto) e ~y~ (Amarelo).");
                    return 
1;
                }
                
format(stringsizeof(string), "~r~%s: ~w~%s",sendername,result);
                for(new 
0MAX_PLAYERSi++)
                {
                    if(
IsPlayerConnected(i))
                    {
                        
GameTextForPlayer(istring50006);
                    }
                }
                return 
1;
            }
            else
            {
                
SendClientMessage(playeridCOLOR_RED"Vocк nгo й Administrador!");
                return 
1;
            }
        }
        return 
1;
    } 
Onde tem o PlayerInfo[playerid][Admin] >= 3 vocк muda pra variбvel de admin que vocк usa.
Crйditos: Thug Life City RPG e Eu que modifiquei o comando.
Reply
#6

Quote:
Originally Posted by [AF]Junior
Посмотреть сообщение
Acho que й isso que vocк quer:

PHP код:
if(strcmp(cmd"/cnn"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            if (
PlayerInfo[playerid][Admin] >= 3)
            {
                new 
string[500];
                
GetPlayerName(playeridsendernamesizeof(sendername));
                new 
length strlen(cmdtext);
                while ((
idx length) && (cmdtext[idx] <= ' '))
                {
                    
idx++;
                }
                new 
offset idx;
                new 
result[64];
                while ((
idx length) && ((idx offset) < (sizeof(result) - 1)))
                {
                    
result[idx offset] = cmdtext[idx];
                    
idx++;
                }
                
result[idx offset] = EOS;
                if(!
strlen(result))
                {
                    
SendClientMessage(playeridCOLOR_RED"USE: /cnn [texto]");
                    
SendClientMessage(playeridCOLOR_WHITE"~p~ (Roxo); ~r~ (Vermelho); ~b~ (Azul); ~g~ (Verde); ~b~ (Preto) e ~y~ (Amarelo).");
                    return 
1;
                }
                
format(stringsizeof(string), "~r~%s: ~w~%s",sendername,result);
                for(new 
0MAX_PLAYERSi++)
                {
                    if(
IsPlayerConnected(i))
                    {
                        
GameTextForPlayer(istring50006);
                    }
                }
                return 
1;
            }
            else
            {
                
SendClientMessage(playeridCOLOR_RED"Vocк nгo й Administrador!");
                return 
1;
            }
        }
        return 
1;
    } 
Onde tem o PlayerInfo[playerid][Admin] >= 3 vocк muda pra variбvel de admin que vocк usa.
Crйditos: Thug Life City RPG e Eu que modifiquei o comando.
Код:
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3913) : error 017: undefined symbol "cmd"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3917) : error 017: undefined symbol "PlayerInfo"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3917) : warning 215: expression has no effect
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3917) : error 001: expected token: ";", but found "]"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3917) : error 029: invalid expression, assumed zero
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3917) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
No meu deu esses Erros! e o meu й Samp 0.3c e nao й o Thug Life! me ajudem ae!
Reply
#7

Quote:
Originally Posted by hitachi_uchila
Посмотреть сообщение
Nгo precisa o gl_comman e so colocar o
pawn Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }

    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
Sу pr aninguem desmentir eu ja testei , e testei ate mesmo com objetos atraidos ao player
Quando eu coloco o Strtok da esse MISERAVEL erro!

Код:
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(4764) : error 021: symbol already defined: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
E quando eu coko o "new strtok;"

Код:
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(4763) : error 021: symbol already defined: "strtok"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(4765) : error 021: symbol already defined: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
PORISSO QUE EU QUERIA O CNN SEM STRTOK! ESSE BANGU DA MUITO TRABAIOO! ME AJUDA AEE
Reply
#8

PHP код:
if(strcmp(cmd"/cnn"true) == 0)
{
if(
IsPlayerAdmin(playerid)){
new 
tmp[256];
tmp strtok(cmdtextidxstrlen(cmdtext));
if (!
strlen(tmp))
{
SendClientMessage(playeridVermelho"Digite: /cnn [texto]");
return 
1;
}
if(
PlayerInfo[playerid][Logged] == 1)
{
format(stringsizeof(string), "~r~%s~w~: ~w~%s"anametmp);
GameTextForAll(string50003);
}else{
SendClientMessage(playeridVermelho"{FFFF00}[{FF0000} ERRO{FFFF00} ]{FFFFFF}: Vocк nгo tem permissгo para usar este comando!");
}
}else{
SendClientMessage(playeridVermelho"{FFFF00}[{FF0000} ERRO{FFFF00} ]{FFFFFF}: Vocк tem que estar logado para usar este comando!");
}
return 
1;
}

Ver se funfo ai , senгo retorne aqui!
Reply
#9

Quote:
Originally Posted by Rodrigo.
Посмотреть сообщение
PHP код:
if(strcmp(cmd"/cnn"true) == 0)
{
if(
IsPlayerAdmin(playerid)){
new 
tmp[256];
tmp strtok(cmdtextidxstrlen(cmdtext));
if (!
strlen(tmp))
{
SendClientMessage(playeridVermelho"Digite: /cnn [texto]");
return 
1;
}
if(
PlayerInfo[playerid][Logged] == 1)
{
format(stringsizeof(string), "~r~%s~w~: ~w~%s"anametmp);
GameTextForAll(string50003);
}else{
SendClientMessage(playeridVermelho"{FFFF00}[{FF0000} ERRO{FFFF00} ]{FFFFFF}: Vocк nгo tem permissгo para usar este comando!");
}
}else{
SendClientMessage(playeridVermelho"{FFFF00}[{FF0000} ERRO{FFFF00} ]{FFFFFF}: Vocк tem que estar logado para usar este comando!");
}
return 
1;
}

Ver se funfo ai , senгo retorne aqui!
Deu sу esses errinhos!!

Код:
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\pawno\include\cpstream.inc(38) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\pawno\include\cpstream.inc(38) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\pawno\include\cpstream.inc(38) : warning 219: local variable "Z" shadows a variable at a preceding level
..\include\gl_common.inc(74) : warning 219: local variable "string" shadows a variable at a preceding level
..\include\gl_common.inc(95) : warning 219: local variable "string" shadows a variable at a preceding level
..\include\gl_common.inc(118) : warning 219: local variable "string" shadows a variable at a preceding level
..\include\gl_common.inc(133) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1735) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1761) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1823) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1885) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1885) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1885) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1918) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1918) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1918) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1951) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1951) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1951) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1984) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1984) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1984) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2017) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2017) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2017) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2050) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2050) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2050) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2083) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2083) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2083) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2116) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2116) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2116) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2149) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2149) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2149) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2182) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2182) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2182) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2215) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2215) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2215) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2248) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2248) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2248) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2281) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2281) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2281) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2784) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2785) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2802) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2803) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2883) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2884) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2907) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2908) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2931) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2932) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2955) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2956) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2976) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2977) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2997) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2998) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3017) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3018) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3035) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3036) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3056) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3057) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3077) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3078) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3098) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3099) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3120) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3121) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3160) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3161) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3181) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3182) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3202) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3203) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3226) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3227) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3250) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3251) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3267) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3268) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3286) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3287) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3309) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3310) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3330) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3331) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3347) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3348) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3367) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3368) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3395) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3396) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3419) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3420) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3442) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3443) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3466) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3467) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3493) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3494) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3513) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3514) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3527) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3528) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3541) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3542) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3555) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3556) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3568) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3569) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3581) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3582) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3611) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3612) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3644) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3645) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3673) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3674) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3690) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3691) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3710) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3711) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3730) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3731) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3750) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3751) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3837) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3837) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3837) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3861) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3861) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3861) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3877) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3877) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3877) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3915) : error 017: undefined symbol "cmd"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3919) : error 017: undefined symbol "idx"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3922) : error 017: undefined symbol "Vermelho"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : error 017: undefined symbol "PlayerInfo"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : warning 215: expression has no effect
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : error 001: expected token: ";", but found "]"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : error 029: invalid expression, assumed zero
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Errors.
AI EU COLOKEI A FUNЗГO STRTOK E DEU O MESMO ERRO!!!!!!
NAO TEM COMO FAZER O CNN SEM ESSA %&$# DE STRTOK??
AJUDEM AE PELO AMOR DE DEUS !!!
Reply
#10

Quote:
Originally Posted by marcos5680
Посмотреть сообщение
Deu sу esses errinhos!!

Код:
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\pawno\include\cpstream.inc(38) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\pawno\include\cpstream.inc(38) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\pawno\include\cpstream.inc(38) : warning 219: local variable "Z" shadows a variable at a preceding level
..\include\gl_common.inc(74) : warning 219: local variable "string" shadows a variable at a preceding level
..\include\gl_common.inc(95) : warning 219: local variable "string" shadows a variable at a preceding level
..\include\gl_common.inc(118) : warning 219: local variable "string" shadows a variable at a preceding level
..\include\gl_common.inc(133) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1735) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1761) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1823) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1885) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1885) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1885) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1918) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1918) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1918) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1951) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1951) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1951) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1984) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1984) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(1984) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2017) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2017) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2017) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2050) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2050) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2050) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2083) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2083) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2083) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2116) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2116) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2116) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2149) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2149) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2149) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2182) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2182) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2182) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2215) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2215) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2215) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2248) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2248) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2248) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2281) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2281) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2281) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2784) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2785) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2802) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2803) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2883) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2884) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2907) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2908) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2931) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2932) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2955) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2956) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2976) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2977) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2997) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(2998) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3017) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3018) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3035) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3036) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3056) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3057) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3077) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3078) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3098) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3099) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3120) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3121) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3160) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3161) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3181) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3182) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3202) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3203) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3226) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3227) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3250) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3251) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3267) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3268) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3286) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3287) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3309) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3310) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3330) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3331) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3347) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3348) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3367) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3368) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3395) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3396) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3419) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3420) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3442) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3443) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3466) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3467) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3493) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3494) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3513) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3514) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3527) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3528) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3541) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3542) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3555) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3556) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3568) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3569) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3581) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3582) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3611) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3612) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3644) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3645) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3673) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3674) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3690) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3691) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3710) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3711) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3730) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3731) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3750) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3751) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3837) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3837) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3837) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3861) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3861) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3861) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3877) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3877) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3877) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3915) : error 017: undefined symbol "cmd"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3919) : error 017: undefined symbol "idx"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3922) : error 017: undefined symbol "Vermelho"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : error 017: undefined symbol "PlayerInfo"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : warning 215: expression has no effect
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : error 001: expected token: ";", but found "]"
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : error 029: invalid expression, assumed zero
C:\Users\marcos\Desktop\MyServers\Brasil City Furious\gamemodes\CityFurious.pwn(3925) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Errors.
AI EU COLOKEI A FUNЗГO STRTOK E DEU O MESMO ERRO!!!!!!
NAO TEM COMO FAZER O CNN SEM ESSA %&$# DE STRTOK??
AJUDEM AE PELO AMOR DE DEUS !!!
PHP код:
new PlayerInfo[MAX_PLAYERS][pInfo]; 
PHP код:
new cmd[256], idx;
cmd strtok(cmdtextidx);
if(
strcmp(cmd"/cnn"true) == 0

if(
IsPlayerAdmin(playerid)){ 
new 
tmp[256]; 
tmp strtok(cmdtextidxstrlen(cmdtext)); 
if (!
strlen(tmp)) 

SendClientMessage(playeridVermelho"Digite: /cnn [texto]"); 
return 
1

if(
PlayerInfo[playerid][Logged] == 1

format(stringsizeof(string), "~r~%s~w~: ~w~%s"anametmp); 
GameTextForAll(string50003); 
}else{ 
SendClientMessage(playeridVermelho"{FFFF00}[{FF0000} ERRO{FFFF00} ]{FFFFFF}: Vocк nгo tem permissгo para usar este comando!"); 

}else{ 
SendClientMessage(playeridVermelho"{FFFF00}[{FF0000} ERRO{FFFF00} ]{FFFFFF}: Vocк tem que estar logado para usar este comando!"); 

return 
1


Troca o "Vermelho" por qualquer cor que esteja no seu gm, ex: COLOR_WHITE, COLOR_RED, Branco......
E mano vocк tem que adaptar ele de acordo com seu gm.
Se nгo der, retorne novamente!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)