[Ajuda] /status em DIALOG
#1

Quero colocar o /status em forma de dialog, alguem poderia transforma-lo?

Code:

if(strcmp("/status", cmd, true) == 0)
{
new plid;

if(sscanf(cmdtext, "s[8]u", cmd, plid))
{
SendClientMessage(playerid, COLOR_GREEN, "Use /status [id]");
return 1;
}
if(IsPlayerConnected(plid))
{
new string222[512];

format(string222, sizeof(string222), "......:::::: - %s: [ID: %d] - ::::::.....", GetPlayerNameEx(plid), plid);
SendClientMessage(playerid, -1, string222);

format(string, sizeof(string), "{CCFF00}» EXP: %d/%d {CCFF00}» Grana na Mгo: $%d", PlayerInfo[plid][_EXP], MAX_PLAYER_EXP, GetPlayerGrana(plid));
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{00BFFF}» Level: %d/%d {00BFFF}» Saldo Bancбrio: $%d", PlayerInfo[plid][_Level], MAX_PLAYER_LEVEL, PlayerInfo[plid][_SaldoBancario]);
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{CCFF00}» Estudo: %d/%d {CCFF00}» Casou Com: %s", PlayerInfo[plid][_Faculdade], MAX_PLAYER_ESTUDO, PlayerInfo[plid][_CasouCom]);
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{00BFFF}» Profissгo ID: %d {00BFFF}» Skin ID: %d", PlayerInfo[plid][_Profissao], PlayerInfo[plid][_Skin]);
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{CCFF00}» Matou: %d {CCFF00}» Morreu: %d", matou[plid], morreu[plid]);
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{00BFFF}» Dias Vip: %d", GetVIPDays(plid));
SendClientMessage(playerid, -1, string);

SendClientMessage(playerid, -1, string222);

format(string, sizeof(string), "%s estб vendo seu status. ( /status )", GetPlayerNameEx(playerid));
SendClientMessage(plid, COLOR_GREEN, string);
}
else
{
SendClientMessage(playerid, Vermelho, "Valor invбlido, tente novamente!");
}
return 1;
}
Reply


Messages In This Thread
/status em DIALOG - by lucas3366 - 03.05.2018, 18:14
Re: /status em DIALOG - by Minerva - 03.05.2018, 18:58
Re: /status em DIALOG - by Izaque1998 - 03.05.2018, 19:16
Re: /status em DIALOG - by lucas3366 - 05.05.2018, 03:12
Re: /status em DIALOG - by Cauezin - 05.05.2018, 03:16
Re: /status em DIALOG - by lucas3366 - 05.05.2018, 03:23
Re: /status em DIALOG - by Izaque1998 - 05.05.2018, 03:25
Re: /status em DIALOG - by lucas3366 - 05.05.2018, 03:31
Re: /status em DIALOG - by Izaque1998 - 05.05.2018, 03:33

Forum Jump:


Users browsing this thread: 3 Guest(s)