[Ajuda] Warnnings
#1

Como Consertar isso.
Meu primeiro sistema que estou criando, to meio perdido.



pawn Код:
Status(playerid)
{
    new Nome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Nome, sizeof(Nome));
    new String[128];
    SendClientMessage(playerid, 0xFF0000AA, "=========================INFORMAЗOES=======================");
    format(String, sizeof(String),"Status De %s", Nome);
    SendClientMessage(playerid, 0xFFFF00AA, String);
    format(String, sizeof(String),"Dinheiro: %d", GetPlayerMoney(playerid));
    SendClientMessage(playerid, 0x1E90FFAA, String);
    format(String, sizeof(String),"Matou: %d", Matou[playerid]);
    SendClientMessage(playerid, 0x1E90FFAA, String);
    format(String, sizeof(String),"Morreu: %d", Morreu[playerid]);
    SendClientMessage(playerid, 0x1E90FFAA, String);
    format(String, sizeof(String),"Skin: %d", GetPlayerSkin(playerid));
    SendClientMessage(playerid, 0x1E90FFAA, String);
    format(String, sizeof(String),"Level: %d", GetPlayerScore(playerid));
    SendClientMessage(playerid, 0x1E90FFAA, String);
    format(String, sizeof(String),"Avisos: %d", Avisos[playerid]);
    SendClientMessage(playerid, 0x1E90FFAA, String);
    if(PlayerInfo[playerid][pCarteira] == 1)
    {
        SendClientMessage(playerid, 0x1E90FFAA,"Carteira: Sim");
    }
    else
    {
        SendClientMessage(playerid, 0x1E90FFAA,"Carteira: Nao");
    }
    format(String, sizeof(String),"VIP: %d",PlayerInfo[playerid][Vip]);
    SendClientMessage(playerid, 0x1E90FFAA,String);
    format(String, sizeof(String),"Admin Nivel: %d",PlayerInfo[playerid][pAdmin]);
    SendClientMessage(playerid, 0x1E90FFAA,String);
    SendClientMessage(playerid, 0xFF0000AA, "=============================================================");
    return 1;
}

stock IsNivelAdm(playerid, level)
{
    if(PlayerInfo[playerid][pAdmin] >= level) return 1;
    return 1;
}


CMD:rg(playerid, params[])
{
    #pragma unused params
    Status(playerid);
    return 1;
}
Код:
C:\Users\Fernando\Desktop\Construindo\filterscripts\TESTEREG.pwn(278) : warning 203: symbol is never used: "Status"
C:\Users\Fernando\Desktop\Construindo\filterscripts\TESTEREG.pwn(278) : warning 203: symbol is never used: "rg"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply
#2

Jб colocou a include zcmd/y_cmd?
Reply
#3

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
Jб colocou a include zcmd/y_cmd?
Acho que й o cansaзo de tanto estudar e programar.
Faltava zcmd.
coisa simples.

mais ta ae, aprendi que й obrigatorio revisar o projeto.

vlw.
Reply
#4

Quote:
Originally Posted by FernandoSS
Посмотреть сообщение
Acho que й o cansaзo de tanto estudar e programar.
Faltava zcmd.
coisa simples.

mais ta ae, aprendi que й obrigatorio revisar o projeto.

vlw.
Se tб estudando, parabйns, vocк vai longe!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)