[Ajuda] Comando /orgs
#1

Bom tenho o GM do PH 1.7 e o /orgs eu ativo ele e Buga o GM Completamente, vocк nгo leva multas, some os radares, some mais coisas que nгo lembro, enfim buga tudo.
Caso alguйm arrume ele eu agradeзo ^^
Код:
dcmd_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
		return ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, "Organizaзхes", string, "Fechar", "");
    }
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: 1 Guest(s)