[Pomoc] Prebacivanje statsa u dialog?

Započeo |LOB| Robi.pwn, April 09, 2013, 11:56:58 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moj gm od 0
Detaljan opis problema:Zanima me kako da prebacim stats u dialog
Dio skripte:

CMD:stats(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFFF, " |- - - - - - - - - - - - - - - - - - - |");
    new string[128];
    new aname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, aname,sizeof(aname));
    format(string,sizeof(string), "%s These are your stats:", aname);
    SendClientMessage(playerid, 0xFFFFFFFF,string);
    format(string,sizeof(string), "- Cash: %i", GetPlayerMoney(playerid));
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    format(string,sizeof(string), "- Kills: %i", PlayerInfo[playerid][pUbojstva]);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    format(string,sizeof(string), "- Deaths: %i", PlayerInfo[playerid][pSmrti]);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    format(string,sizeof(string), "- Admin Level: %i", PlayerInfo[playerid][pAdmin]);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    format(string,sizeof(string), "- Admin Level: %i", PlayerInfo[playerid][pLider]);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    format(string,sizeof(string), "- Admin Level: %i", PlayerInfo[playerid][pRank]);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    format(string,sizeof(string), "- Admin Level: %i", PlayerInfo[playerid][pMember]);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    SendClientMessage(playerid, 0xFFFFFFFF, " |- - - - - - - - - - - - - - - - - - - |");
    return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Citat: [RS]panameR. poslato Novembar 24, 2012, 13:50:32 POSLE PODNE
Citat: [FG] Tixa Mukic poslato Novembar 24, 2012, 11:12:07 PRE PODNE
Jel mi moze netko objasnit kako popuni i to sve opću uplatnicu :'(
kemijskom

Blaeks RESPECT!
joXy_ BIG RESPECT!
CkusaColeCM RESPECT!
Ivan_Ino.pwn BIG RESPECT!

Moras napravit dialog http://wiki.sa-mp.com/wiki/ShowPlayerDialog
I moras napravit CMD da kad igrac napise da mu se taj dialog pokaze ;)

Kraden avatar bloomeru :*