[Ajuda]Como criar /orgs
#10

Ta ae, Passa pro seus sistemas ae!
pawn Код:
CMD:orgs(playerid, params[])
{
    #pragma unused params
    new org[128],org2[128],string[2048],tmp[32],giveid;
    for(new i = 1; i < MAX_ORGS; ++i)
    {
        format(org,128,"/RPG/orgs/%s.ini",OrgsNamesSmall[i]);
        format(tmp,32,"%s",DOF2_GetString(org, OrgsCargos[0]));

        if(strlen(tmp) < 3)
            tmp = "Ninguйm";

        giveid = ReturnUser(tmp);
        if(IsPlayerConnected(giveid))
            format(org2,128,"{C2A2DA} %d >> %s: %s - {00D900}Online\n", i, OrgsNames[i], tmp);

        else
            format(org2,128,"{C2A2DA} %d >> %s: %s - {AA3333}Offline\n", i, OrgsNames[i], tmp);

        strcat(string, org2);
    }
    ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, "Organizaзхes", string, "Fechar", "");
    return 1;
}
Reply


Messages In This Thread
[Ajuda]Como criar /orgs - by MatheusAlcapone - 01.03.2012, 23:08
Re: [Ajuda]Como criar /orgs - by kinhobryant - 01.03.2012, 23:37
Re: [Ajuda]Como criar /orgs - by Don_Speed - 01.03.2012, 23:39
Respuesta: [Ajuda]Como criar /orgs - by MatheusAlcapone - 02.03.2012, 00:04
Re: [Ajuda]Como criar /orgs - by Don_Speed - 02.03.2012, 00:07
Re: [Ajuda]Como criar /orgs - by DouglasRodrigues - 02.03.2012, 00:14
Respuesta: [Ajuda]Como criar /orgs - by MatheusAlcapone - 02.03.2012, 00:14
Re: [Ajuda]Como criar /orgs - by DouglasRodrigues - 02.03.2012, 00:27
Respuesta: [Ajuda]Como criar /orgs - by MatheusAlcapone - 02.03.2012, 00:58
Re: [Ajuda]Como criar /orgs - by paulor - 02.03.2012, 16:05

Forum Jump:


Users browsing this thread: 5 Guest(s)