[Ajuda] Bug /Contaslider
#1

Galera me Ajudem to com um bug aki
Quando eu dou /contaslider ele n sai do /orgs

estou com esse bug ,
direto quando um player da erro pede /contaslider ele n sai do /orgs

Код:
if(!strcmp("/contaslider", cmdtext, true))
	{
		if(PlayerInfo[playerid][pLider] == 0)
    	{
	   		SendClientMessage(playerid,COLOR_GREY," Vocк nгo й lнder de nenhuma organizaзгo!");
	   		return 1;
    	}
		format(string, sizeof(string), "PLAYER: %s pediu contas de lider da org:[%s]",PlayerName(playerid), NomeORG(GetPlayerOrg(playerid)));
		LideresLog(string);
    	DemitirInfoOrg(PlayerName(playerid));
		gTeam[playerid] = 3;
		PlayerInfo[playerid][pTeam] = 3;
		PlayerInfo[playerid][pMembro] = 0;
		PlayerInfo[playerid][pLider] = 0;
		PlayerInfo[playerid][pCargo] = 0;
		PlayerInfo[playerid][pSpawn] = 0;
		if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 7; } else { PlayerInfo[playerid][pSkin] = 12; }
        SetSpawnInfo(playerid, gTeam[playerid], PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0);
		MedicBill[playerid] = 0;
		SpawnPlayer(playerid);
		MedicBill[playerid] = 0;
		SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк pediu as contas, agora vocк й um Civil novamente!");
		return 1;
	}
ORGS /orgs
Код:
if (strcmp("/orgs", cmdtext, true, 10) == 0)
	{
        SendClientMessage(playerid, COR_ROSA, "Administrador Responsбvel: Major_Souza16FT");
        SendClientMessage(playerid, COR_ROSA, "| __________________________________ |");
		SendClientMessage(playerid, COR_ROSA, "| Orgs do 16°BPM/M |");
		SendClientMessage(playerid, COR_ROSA, "| __________________________________ |");
		format(string, sizeof(string), "|Radio Patrulha - 11: %s", InfoOrg[11][Lider]);
		SendClientMessage(playerid, COR_PM, string);
		format(string, sizeof(string), "|Forзa Tatica e Rocam - 16: %s", InfoOrg[16][Lider]);
		SendClientMessage(playerid, COR_PM, string);
		format(string, sizeof(string), "|GRPAe - 1 : %s", InfoOrg[1][Lider]);
		SendClientMessage(playerid, COR_PM, string);
		format(string, sizeof(string), "|ROTA - 2: %s", InfoOrg[2][Lider]);
		SendClientMessage(playerid, COR_PR, string);
		format(string, sizeof(string), "|Exercito: - 3 %s", InfoOrg[3][Lider]);
		SendClientMessage(playerid, COR_EXE, string);
		SendClientMessage(playerid, COR_ROSA, "| __________________________________ |");
		SendClientMessage(playerid, COR_ROSA, "| ORGANIZAЗХES CRIMINOZAS |");
		SendClientMessage(playerid, COR_ROSA, "| __________________________________ |");
		format(string, sizeof(string), "|Gavioes da Fiel - 6: %s", InfoOrg[6][Lider]);
		SendClientMessage(playerid, COR_PF, string);
        format(string, sizeof(string), "|Prefeito - 7: %s", InfoOrg[7][Lider]);
		SendClientMessage(playerid, COR_PRE, string);
		format(string, sizeof(string), "|Hitmans: - 8 %s", InfoOrg[8][Lider]);
		SendClientMessage(playerid, COR_HITMAN, string);
		format(string, sizeof(string), "|Reporter - 9: %s", InfoOrg[9][Lider]);
		SendClientMessage(playerid, COR_REP, string);
		format(string, sizeof(string), "|Taxistas - 10: %s", InfoOrg[10][Lider]);
		SendClientMessage(playerid, COR_TAXI, string);
		format(string, sizeof(string), "|Terceiro Comando Puro - 5: %s", InfoOrg[5][Lider]);
		SendClientMessage(playerid, COR_TCP, string);
		format(string, sizeof(string), "|Mafia Costa Nostra - 12: %s", InfoOrg[12][Lider]);
		SendClientMessage(playerid, COR_COSA, string);
		format(string, sizeof(string), "|Mafia Yakuza - 13: %s", InfoOrg[13][Lider]);
		SendClientMessage(playerid, COR_YAK, string);
    	format(string, sizeof(string), "|Groove Street - 14: %s", InfoOrg[14][Lider]);
		SendClientMessage(playerid, COR_GRO, string);
		format(string, sizeof(string), "|Mancha Verde - 15: %s", InfoOrg[15][Lider]);
		SendClientMessage(playerid, COLOR_GREEN, string);
		format(string, sizeof(string), "|Medico - 4: %s", InfoOrg[4][Lider]);
		SendClientMessage(playerid, COR_SAMU, string);
		format(string, sizeof(string), "|Ballas - 17: %s", InfoOrg[17][Lider]);
		SendClientMessage(playerid, COR_BALLAS, string);
		format(string, sizeof(string), "|Los Vagos - 18: %s", InfoOrg[18][Lider]);
		SendClientMessage(playerid, COR_VAGOS, string);
    	format(string, sizeof(string), "|Comando Vermelho - 19: %s", InfoOrg[19][Lider]);
		SendClientMessage(playerid, 0xF6000000, string);
		format(string, sizeof(string), "|Tugas - 20: %s", InfoOrg[20][Lider]);
		SendClientMessage(playerid, 0xCCFF99FF, string);
		format(string, sizeof(string), "|Sons Of Anarchy - 20: %s", InfoOrg[21][Lider]);
		SendClientMessage(playerid, COR_SONS, string);
		format(string, sizeof(string), "|Bombeiros - 22: %s", InfoOrg[22][Lider]);
		SendClientMessage(playerid, 0xFF6600AA, string);
		format(string, sizeof(string), "|Mayans - 23: %s", InfoOrg[23][Lider]);
		SendClientMessage(playerid, COR_MAYANS, string);
		return 1;
   	}
Reply
#2

Posta seu /orgs ai.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)