17.07.2014, 01:48
Como Consertar isso.
Meu primeiro sistema que estou criando, to meio perdido.
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.