FANDOM


Ova funkcija je dodana u verziji 0.3c R4 i nece raditi na ranijim!


Uzima status interneta od igrača i čuva ga u string.


Parametri:

(playerid, retstr[], retstr_size)

playerid ID igrača kojem proveravamo status.

retstr[] String za čuvanje status neta.

retstr_size Veličina stringa za čuvanje statusa.



public OnPlayerCommandText(playerid,cmdtext[])
{    
    if(!strcmp(cmdtext, "/mynetstats"))
    {
        new stats[400+1];
        GetPlayerNetworkStats(playerid, stats, sizeof(stats)); // uzima vas status neta
        ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Moj status neta", stats, "U redu", "");// prikazuje vas status u dialogu
    }
    return 1;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.