[Ajuda] Juda /orgs
#2

pawn Код:
dcmd_orgs(playerid, params[]) {
    #pragma unused params
    new Org[128], Str[2048], GiveID;
    for(new i = 1; i < MAX_ORGS; ++i)
    {
        format(Org, 128, "/RPG/Orgs/%s.ini", OrgsNamesSmall[i]);
        format(Org, 32, "%s", dini_Get(Org, OrgsCargos[0]));

        if(strfind(Org, "_") == -1) Org = "Ninguйm", GiveID = 0xFFFF;
        else GiveID = ReturnUser(Org);
        format(Org, 128, "{C2A2DA} %d >> %s: %s - %s\n", i, OrgsNames[i], Org, (GiveID == 0xFFFF ? tmp : (IsPlayerConnected(GiveID) ? "{00D900}Online" : "{AA3333}Offline\n")));
        strcat(Str, Org);
    }
    return ShowPlayerDialog(playerid, 10100, DIALOG_STYLE_MSGBOX, "Organizaзхes", Str, "Fechar", #);
}
Caso seja o BUG do Unknow Command, nem me lembro mais como resolve...
Reply


Messages In This Thread
Juda /orgs - by FenixBorn - 16.09.2012, 16:35
Re: Juda /orgs - by paulor - 16.09.2012, 17:09
Re: Juda /orgs - by FenixBorn - 16.09.2012, 17:19
Re: Juda /orgs - by paulor - 16.09.2012, 18:21
Re: Juda /orgs - by FenixBorn - 16.09.2012, 18:41
Re: Juda /orgs - by paulor - 16.09.2012, 18:59
Re: Juda /orgs - by FenixBorn - 16.09.2012, 19:16
Re: Juda /orgs - by paulor - 16.09.2012, 20:42
Re: Juda /orgs - by FenixBorn - 17.09.2012, 23:43
Re: Juda /orgs - by paulor - 17.09.2012, 23:46

Forum Jump:


Users browsing this thread: 1 Guest(s)