[Ajuda] Comando /orgs
#4

Comando Toscooooooo LOL TROLL

pawn Код:
CMD:orgs(playerid, 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",dini_Get(org, OrgsCargos[0]));
    }
    if(strcmp(tmp,"Nenhum",true)==0 || strlen(tmp) < 3)
    {
        format(org2,128,"{C2A2DA}%s: Nenhum\n",OrgsNames[i]);
        continue;
    }
    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);
    #pragma unused params
    ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, "Organizaзхes", string, "Fechar", "");
    return 1;
}


Acho que ta tudo errado !
Reply


Messages In This Thread
[Ajuda] Comando /orgs - by DontCRY - 22.02.2012, 20:54
Re: [Ajuda] Comando /orgs - by paulor - 22.02.2012, 22:50
Re: [Ajuda] Comando /orgs - by DontCRY - 25.02.2012, 00:50
Re: [Ajuda] Comando /orgs - by Troll Face - 25.02.2012, 00:57
Re: [Ajuda] Comando /orgs - by DontCRY - 25.02.2012, 01:28
Re: [Ajuda] Comando /orgs - by Troll Face - 25.02.2012, 01:38
Re: [Ajuda] Comando /orgs - by DontCRY - 25.02.2012, 02:20
Re: [Ajuda] Comando /orgs - by paulor - 25.02.2012, 10:05
Re: [Ajuda] Comando /orgs - by DontCRY - 25.02.2012, 11:45
Re: [Ajuda] Comando /orgs - by Troll Face - 25.02.2012, 11:59

Forum Jump:


Users browsing this thread: 3 Guest(s)