View difference between Paste ID: NkbHF4yT and DkynYPu0
SHOW: | | - or go back to the newest paste.
1
#include < a_samp >
2
#include sscanf.inc
3-
								  FS LL-ADMIN
3+
#include zcmd.inc
4-
						  BY LUCAS_ALEMAO (LUCAS LESSA)
4+
5-
						  
5+
// -------------------------------------------------------- >   Definições do Servidor em Geral
6-
						         ZCMD By ZeeX
6+
#define Entrada_Loja 			213.2318,-183.4858,1.5781
7-
        					  SSCANF By Y_Less
7+
#define Entrada_Ammu       		243.0552,-178.4454,1.5822
8-
        					  
8+
#define Menu_Armas     			314.2584,-132.9375,999.6016
9-
        					  
9+
#define Entrada_Prefeitura      292.9194,-195.3610,1.7786
10-
	  	  		 			    Agradecimentos:
10+
#define Entrada_Loja_Roupas 	171.9727,-152.4717,1.5752
11-
							     Jim._.Carrey
11+
#define Menu_Prefeitura         361.8299,173.6784,1008.3828
12-
				      		 Los (funções de Log)
12+
#define Materiais_Obter     	1230.2911,-1735.1278,13.5867
13-
     		  		   [STR]Matrix (Idéias de comandos)
13+
14-
   		  		      Panico_ONCrew (Idéias de comandos)
14+
#define Tempo_P 				5000
15-
							    
15+
16-
				    	    Não retire os Créditos!!
16+
#define Dialog_Armas            1050
17-
						  
17+
#define Dialog_Emprego          2050
18-
						            V1.5.1
18+
19-
						  Inicio do Script: 04/02/2012
19+
#define Desempregado            3
20-
						   Final do Script: 11/02/2012
20+
#define Mecanico                4
21-
						   
21+
#define Caminhoneiro            5
22-
						            V1.6
22+
#define Advogado                6
23-
							Atualizado em 07/05/2012
23+
#define Detetive                7
24-
							
24+
#define Vendedor_de_Armas       8
25-
							        V1.7
25+
26-
							Atualizado em 11/06/2012
26+
#define Civil                   20
27
#define Groove                  21
28-
VERSÃO 1.7
28+
#define Ballas                  22
29-
	Adicionado funções na public OnPlayerClickPlayer:
29+
#define Aztecas                 23
30-
	    Kick
30+
#define Vagos             		24
31-
	    Ban
31+
#define PCC             		25
32-
		Advertir
32+
#define Comando_V        		26
33-
		Particular
33+
#define Rota           			27
34-
		Ir
34+
#define Policia_M               28
35-
		Trazer
35+
#define Policia_F               29
36-
		Status
36+
#define Exercito            	30
37-
	Sistema de admin secreto:
37+
#define GI                      31
38-
		Vá até a linha 180 e altere oque está entre aspas para uma senha secreta.
38+
#define Farc                    32
39-
		In game use o comando /logaradm <senha> para ser admin secretamente,
39+
#define Hitman                  33
40-
		ninguem verá seu nome no /admins porem você terá todos os comandos do FS.
40+
#define Administradores         50
41-
		Para ser admin normal use /admnormal
41+
42-
	Pequeno sistema de duvida:
42+
#define Verde                   0x21DD00FF
43-
	    Players usam /duvida <texto> e uma mensagem é enviada para todos os Helpers online
43+
#define Vermelho                0xFF030FFF
44-
	    Eles podem responder usando /responder <id> <texto>
44+
#define Amarelo                 0xFFFF00FF
45-
	Corrigido pequeno bug do /admins
45+
#define Laranja                 0xF97804FF
46-
	Comando /kicksecreto
46+
#define Azul_Claro              0x00C2ECFF
47-
	Comando /bansecreto
47+
#define Branco 					0xFFFFFFAA
48-
	Comando /ips otimizado
48+
#define Azul                    0x1229FAFF
49-
	Comando /id 			(mostra o id de um player atraves do nome digitado)
49+
#define Verde_Claro             0x38FF06FF
50-
	Comandd /posplayer 		(mostra a posição de um player)
50+
#define Cinza                   0xCECECEFF
51-
	Comando /criaricone 	(cria um icone no mapa de todos os players)
51+
#define Rosa                    0xD52DFFFF
52-
	Comando /destruiricone 	(oposto do comando /criaricone)
52+
#define Cinza_Escuro            0x626262FF
53-
	Comando /versao         (mostra a versão do samp de um player)
53+
// -------------------------------------------------------- >
54-
	Comando /blindar        (coloca o carro de um player em god mode)
54+
enum
55-
	Comando /desblindar     (oposto do comando /blindar)
55+
	pDados
56-
	Comando /setarVW        (seta o Virtual World de um player)
56+
57-
	Comando /console        (imprime informações no console do server)
57+
	Organizacao,    Quentinha,     Pizza,    Id_Check,      Kikado,      Debug,
58
	Cargo,          Hamburguer,    Crimes,   Horas_Jogadas, Preso,       Materiais,
59-
VERSÃO 1.6
59+
	Licenciado,     Licenca_Armas, Cigarros, Emprego,       Loja_Roupas, Comprar_Materiais,
60-
	Resolvido problema de não salvar tags
60+
	Fazer_Compras,  Produtos,      Maconha,  Contrato,      Id_Kick,
61-
					   
61+
62-
VERSÃO 1.5
62+
63-
- Nova interface de Registro e Login.
63+
new Timer_Cigarro;
64-
- Novo sistema de gravação de Admin, Helper e VIP. Chega de bugs.
64+
new Timer_Maconha;
65-
- Função adicionada para não dar conflito com seu GM no sistema de registro.
65+
66-
- Anti-Divulguer.
66+
new World_Time;
67-
- Anti-Bot.
67+
new pInfo[MAX_PLAYERS][pDados];
68-
- Anti-Weapon Hack.
68+
69-
- Anti-High Ping.
69+
forward Spawn_Player(playerid);
70-
- Agora temos HQ de admin (opcional).
70+
forward Kick_Player(playerid);
71-
  °Portão movel (/portaoadm)
71+
forward Soltar_Preso(playerid);
72-
  °Varios objetos.
72+
forward Fumando_Maconha(playerid);
73-
  °Carros exclusivos para admin
73+
forward Tempo_World(playerid);
74-
- OnPlayerDisconnect otimizado.
74+
forward Fumando_Cigarro(playerid);
75-
- Em vez de usar os comandos /jogar e /trabalhar, use apenas /servico. Os comandos
75+
// -------------------------------------------------------- >
76-
  /jogar e /trabalhar não foram excluidos, eles ainda funcionam normalmente.
76+
new Float: C_R[][] = // Random Spawns Caminhoneiros
77-
- SSCANF adicionado no FS. Chega de conflitos.
77+
78-
- Corrigido bug de morrer e perder admin.
78+
    {195.9697,-232.3367,1.7786,271.1507},
79-
- Sistema de Disfarce:
79+
    {219.1665,-226.9594,1.7786,92.1534},
80-
  °/disfarce faz com que o Admin mude sua skin, seu nome e sua cor para ficar igual a do player
80+
    {253.9131,-158.1334,1.5703,75.7547},
81-
  que está sendo usado.
81+
    {292.3913,-187.2190,1.5781,89.1007},
82-
  °/sairdisfarce para voltar as caracteristicas originais.
82+
    {81.4282,-198.9835,1.5631,221.6808}
83-
- Novo sistema de Logs (Agradecimentos a Los).
83+
84-
- Novo sistema de prints.
84+
// -------------------------------------------------------- >
85-
- /Relatorios agora são gravados em log.
85+
86-
- Adicionado Sistema de Helpers:
86+
main()
87-
  °/darhelper
87+
88-
  °/tirarhelper
88+
	print("\n------------------------------- >");
89-
  °/helpers
89+
	print(" Brasil Play Net Carregado !  - > By Lucas Emmanuel");
90-
  °todos os comandos de helper em /la
90+
	print("------------------------------- >\n");
91-
- Adicionado Sistema de Vips (opcional):
91+
92-
  °/ajudavip
92+
93-
  °/darvip
93+
public OnGameModeInit()
94-
  °/tirarvip
94+
95-
  °/v
95+
	SetGameModeText("Blank Script");
96-
  °/kitvip
96+
97-
  °/vips
97+
	UsePlayerPedAnims();
98-
  °/cc
98+
	DisableInteriorEnterExits();
99-
  °/relatorio diferenciado
99+
	LimitGlobalChatRadius(150);
100-
- Sistema de mensagens randomicas:
100+
	EnableStuntBonusForAll(0);
101-
  °Adminis level 3+ podem ativa-las com /ativarmsgs ou /desativarmsgs.
101+
102-
- Sistema de Enquetes:
102+
	AddPlayerClass(23, 1242.7977, -1694.7399, 16.1965, 182.3878, 0, 0, 0, 0, 0, 0);
103-
  °Admins level 3+ podem usar /enquete para criar uma enquete.
103+
104-
  °Players usam /sim ou /nao. A enquete se encerra automaticamente em 30 segundos.
104+
	AddStaticPickup(1318, 1, Entrada_Loja, 0);
105-
- Adicionado comando /particular (todos os niveis de admin ou helper).
105+
	AddStaticPickup(1318, 1, Entrada_Ammu, 0);
106-
- Sistema de musica ao conectar:
106+
	AddStaticPickup(1318, 1, Entrada_Prefeitura,  0);
107-
  °Admins level 4+ podem usar o comando /musicainicial para escolher uma musica para o player ouvir quando
107+
	AddStaticPickup(1318, 1, Entrada_Loja_Roupas, 0);
108-
  se conectar ao servidor.
108+
	AddStaticPickup(1318, 1, Materiais_Obter , 0);
109-
- Sistema de Foder um Jogador:
109+
110-
  °Admins nivel 4+ poderam usar o comando /foderplayer.
110+
	AddStaticPickup(1318, 1,  315.7297,-143.6574,999.6016, 0);
111-
  °O Player fodido irá para o carandiru, ficará congelado, ficará mudo, e será forçado a ouvir uma musica do Restart kkkk.
111+
	AddStaticPickup(1318, 1, -26.0003,-188.2597,1003.5469, 0);
112-
  °Para desfode-lo vá até o arquivo Fodidos.txt e apague o IP dele da lista.
112+
	AddStaticPickup(1318, 1,  389.8720,173.6646,1008.3828, 0);
113-
- Sistema de AFK:
113+
	AddStaticPickup(1318, 1,  227.5590,-8.1010,1002.2109,  0);
114-
  °/afk
114+
115-
  °/sairafk
115+
	AddStaticPickup(1318, 1,  Menu_Armas, 0);
116-
  °o /admins e /helpers mostra quem está online e quem está AFK.
116+
	AddStaticPickup(1318, 1, Menu_Prefeitura, 0);
117-
- Adicionado comando /mudarsenha (qualquer jogador).
117+
118-
- Adicionado comando /players (todos os niveis de admin ou helper). 			Mostra a quantidade de players online.
118+
	Create3DTextLabel("Compra de Materiais\nAperte F", Azul_Claro, Materiais_Obter, 20.0, 0, 0);
119-
- Adicionado comando /limparchat (admin nivel 1+).                              Limpa o chat para todos os players.
119+
120-
- Adicionado comando /tempo (admin nivel 2+).                                   Seta o tempo para Manha/Tarde/Noite.
120+
// ----------------------------------------------- > 
121-
- Adicionado comando /dargrana (admin nivel 2+).                                Da grana a algum player.
121+
 	SetTimer("Tempo_World", 60 * 60 * 1000, true);
122-
- Adicionado comando /jetpack (admin nivel 2+).                                 Da um Jetpack para alguem.
122+
123-
- Adicionado comando /trazertodos (admin nivel 2+).                             Traz todos os jogadores até você.
123+
124-
- Adicionado comando /moverplayer (admin nivel 2+).                             Move um player até outro.
124+
125-
- Adicionado comando /resetargrana (admin nivel 3+).                            Reseta a grana de um jogador.
125+
public OnGameModeExit()
126-
- Adicionado comando /setargrana (admin nivel 3+).                              Seta a grana de um jogador.
126+
127-
- Adicionado comando /resetar (admin nivel 4+).                                 Reseta Absolutamente todos os dados da conta de um player.
127+
128-
- Adicionado comando /versenha (admin nivel 5).                                 Mostra a senha de um jogador para o admin.
128+
129-
- Adicionado comando /setaradmin (admin nivel 5).                               Seta o admin de um player, independente de ele aceitar ou não
129+
130-
- Adicionado comando /trancarserver (admin nivel 5).                            Tranca o server com uma senha.
130+
public Tempo_World(playerid)
131-
- Adicionado comando /destrancarserver (admin nivel 5).                         Destranca o server.
131+
132-
- Adicionado comando /seradmin (admin RCON).                                    Vira admin nivel 5.
132+
	new Str[120], StE[120];
133
	if (World_Time == 25)
134-
-       ORDEM DE PRINT      -
134+
135
		World_Time = 0;
136-
Pasta Logs;
136+
137-
Pasta Banidos;
137+
138-
Pasta Banidos/Contas;
138+
	SetWorldTime(World_Time);
139-
Pasta Admins;
139+
	World_Time ++;
140-
Arquivo Fodidos.txt;
140+
	format(Str, sizeof(Str), "BRASIL PLAY NET :{FFFFFF}Agora São {88AA88}%d {FFFFFF}Horas.", World_Time);
141-
Arquivo Admins.adm;
141+
	SendClientMessageToAll(Verde_Claro , Str);
142-
Arquivo Helpers.hel;
142+
	pInfo[playerid][Horas_Jogadas] ++;
143-
Arquivo Vips.vip;
143+
	pInfo[playerid][Contrato] --;
144-
Pasta Contas;
144+
	format(StE, sizeof(StE), "Você tem Agora %d Horas Jogadas", pInfo[playerid][Horas_Jogadas]);
145
	SendClientMessage(playerid, Laranja, StE);
146-
Se seu samp-server abrir e fechar rapido, abra o server_log e veja qual foi a ultima pasta verificada.
146+
147-
a pasta depois dela, seguindo a ordem de cima, é a que está faltando.
147+
148
public OnPlayerRequestClass(playerid, classid)
149
{
150
	SetTimer("Spawn_Player", 100, false);
151-
/*          INCLUDES        */
151+
152-
#include 	a_samp
152+
153-
#include 	zcmd
153+
154-
#include 	dof2
154+
public Spawn_Player(playerid)
155
{
156-
/*          DEIXE A SEU FAVOR       */
156+
157
}
158-
//SE QUISER USAR O SISTEMA DE REGISTRO DO FS DEIXE 1, SE NÃO QUISER COLOQUE 0
158+
159-
#define         				USAR_SISTEMA_REGISTRO                        	1
159+
160
{
161-
//SE QUISER UASR O SISTEMA DE VIP DO FS DEIXE 1, SE NÃO QUISER COLOQUE 0
161+
162-
#define                         USAR_SISTEMA_VIP                                1
162+
	    Nome[25],
163
	    Str[80]
164-
//SE QUISER USAR UM TEXTDRAW DE FUNDO DEIXE 1, SE NÃO QUISER COLOQUE 0
164+
 	;
165-
#define                         USAR_TEXT                                       1
165+
166
 	GetPlayerName(playerid, Nome, 25);
167-
//SE QUISER QUE OS ADMINS SPAWNEM NA HQ DEIXE 1, SE NÃO QUISER COLOQUE 0
167+
 	format(Str, sizeof(Str), "O Jogador {00FFFF}%s {FFFFFF}Entrou no Servidor", Nome);
168-
#define                         SPAWNAR_HQ                                      1
168+
 	SendClientMessageToAll(0xFFFFFFAA, Str);
169
	return 1;
170-
//SE DESEJA QUE APAREÇA [ADM] ANTES DO NICK DOS ADMINS NO CHAT DEIXE 1, SE NÃO QUISER COLOQUE 0
170+
171-
#define                         DESTAQUE_ADMINS                                 1
171+
172
public OnPlayerDisconnect(playerid, reason)
173-
//DEFINA ABAIXO O PING MAXIMO PARA OS JOGADORES DO SEU SERVER
173+
174-
#define                         MAX_PING                                        500
174+
175
	    Nome[25],
176-
//DEFINA SE DESEJA USAR O LOGIN ALTOMATICO POR IP
176+
	    Str[80]
177-
#define                         AUTO_LOGIN                                      true
177+
 	;
178
179-
//DEFINA A SENHA PARA SE LOGAR DE ADM ESCONDIDO
179+
 	GetPlayerName(playerid, Nome, 25);
180-
#define                         SENHA                                           "alemao"
180+
 	format(Str, sizeof(Str), "O Jogador {00FFFF}%s {FFFFFF}Desconectou - se do Servidor", Nome);
181
 	SendClientMessageToAll(0xFFFFFFAA, Str);
182-
/*          MACROS      */
182+
183-
#define MensagemFormatadaParaTodos(%0,%1,%2); format(String, sizeof(String), %1, %2); 	SendClientMessageToAll(%0, String);
183+
184-
#define MensagemFormatada(%0,%1,%2); format(String, sizeof(String), %1, %2); 			SendClientMessage(playerid, %0, String);
184+
185-
#define MsgFormat(%0,%1,%2,%3); format(String, sizeof String, %2, %3); SendClientMessage(%0, %1, String);
185+
186-
#define SetarDado(%0,%1,%2); PlayerDados[%0][%1] = %2; SalvarDados(%0);
186+
187-
#define GetarDado(%0,%1) PlayerDados[%0][%1]
187+
	if(pInfo[playerid][Preso] == 1)
188-
#define Loop(%0,%1) for(new %0 = 0; %0 < %1; ++%0)
188+
189
	    new
190-
#define Msg    		SendClientMessage
190+
			Str[80]
191-
#define MsgAll      SendClientMessageToAll
191+
		;
192-
#define LogExistir 	fexist
192+
193
		SetPlayerPos(playerid, 263.8820,77.4002,1001.0391);
194-
/*      CORES       */
194+
		SetPlayerInterior(playerid, 6);
195-
#define VERDE                   0x21DD00FF
195+
		ResetPlayerWeapons(playerid);
196-
#define VERMELHO                0xFF030FFF
196+
		SetPlayerWantedLevel(playerid, 0);
197-
#define VERMELHO_ESCURO         0xE60000FF
197+
		SetTimer("Soltar_Preso", Tempo_P * pInfo[playerid][Crimes], false);
198-
#define VERMELHO_CLARO          0xFB0000FF
198+
		pInfo[playerid][Preso] = 1;
199-
#define AMARELO                 0xFFFF00FF
199+
200-
#define LARANJA                 0xF97804FF
200+
		format(Str, sizeof(Str), "Sentença incompleta. Tempo Restante: {FFFFFF}%d", Tempo_P * pInfo[playerid][Crimes]);
201-
#define AZUL_CLARO              0x00C2ECFF
201+
		SendClientMessage(playerid, Verde_Claro, Str);
202-
#define ROXO                    0xB360FDFF
202+
203-
#define BRANCO		    		0xFFFFFFFF
203+
204-
#define PRETO                   0x000000FF
204+
	if(pInfo[playerid][Organizacao] == Civil)
205-
#define AZUL                    0x1229FAFF
205+
206-
#define VERDE_CLARO             0x38FF06FF
206+
	    SetPlayerSkin(playerid, 23);
207-
#define ROSA_CHOQUE             0xE100E1FF
207+
208-
#define VERDE_ESCURO            0x008040FF
208+
209-
#define CINZA                   0xCECECEFF
209+
	SetPlayerInterior(playerid, 0);
210-
#define ROSA                    0xD52DFFFF
210+
211-
#define CINZA_ESCURO       		0x626262FF
211+
	if(pInfo[playerid][Emprego] == Caminhoneiro)
212-
#define VERDE_AGUA       		0x03D687FF
212+
213
		new Random = random(sizeof(C_R));
214-
/*      DIALOGS     */
214+
	    SetPlayerPos(playerid, C_R[Random][0], C_R[Random][1], C_R[Random][2]);
215-
#define DIALOG_REGISTRO    		4672
215+
	    SetPlayerFacingAngle(playerid, C_R[Random][3]);
216-
#define DIALOG_LOGIN            4673
216+
217-
#define DIALOG_BANIDO           4674
217+
218-
#define DIALOG_IPS              4675
218+
219-
#define DIALOG_INFO             4676
219+
220-
#define DIALOG_AL               4677
220+
221-
#define DIALOG_ADM              4678
221+
222-
#define DIALOG_HELPER           4679
222+
	new Str_Wanted[60];
223-
#define DIALOG_MUSICAS          4680
223+
224-
#define DIALOG_SENHANOVA        4681
224+
	if(pInfo[killerid][Organizacao] == Groove || Ballas || Aztecas || Vagos || PCC || Comando_V || Civil || Hitman)
225-
#define DIALOG_FORCAR           4682
225+
226-
#define DIALOG_AJUDAV           4683
226+
	    pInfo[killerid][Crimes] ++;
227-
#define DIALOG_KICKAR           4684
227+
	    SendClientMessage(killerid, Vermelho, "Você Cometeu um Crime : {FFFFFF}Assasinato");
228-
#define DIALOG_BANIR            4685
228+
		format(Str_Wanted, sizeof(Str_Wanted), "Nivel Atual de Procura : {FFFFFF}%d", pInfo[killerid][Crimes]);
229-
#define DIALOG_ADVERTIR         4686
229+
		SendClientMessage(playerid, Amarelo, Str_Wanted);
230-
#define DIALOG_OPCOES           4687
230+
	    SetPlayerWantedLevel(killerid, pInfo[killerid][Crimes]);
231-
#define DIALOG_PART             4688
231+
232-
#define DIALOG_IPS1             4689
232+
233-
#define DIALOG_IPS2             4690
233+
	if(pInfo[playerid][Organizacao] == Groove || Ballas || Aztecas || Vagos || PCC || Comando_V || Civil || Hitman)
234-
#define DIALOG_STATUS           4691
234+
235
	    if(GetPlayerWantedLevel(playerid) < 1)
236-
/*      FORWARDS     */
236+
237-
forward TempoPreso(playerid);
237+
	    	if(pInfo[killerid][Organizacao] == Rota || Policia_M || Policia_F )
238-
forward VerificarPreso(playerid);
238+
	    	{
239-
forward NomeCarro(playerid);
239+
	    		GameTextForPlayer(killerid, "~b~Suspeito ~r~Morto ~w~Bonus R$ ~g~300", 2500, 1);
240-
forward LiberarKit(playerid);
240+
	    		GivePlayerMoney(killerid, 300);
241-
forward MensagensRandom();
241+
// --------------------------------------------------------------------------- >
242-
forward FecharEnquete();
242+
	    		SetPlayerPos(playerid, 263.8820,77.4002,1001.0391);
243-
forward TocarSom(playerid);
243+
				SetPlayerInterior(playerid, 6);
244-
forward CriarLogs();
244+
				ResetPlayerWeapons(playerid);
245-
forward ImprimirInformacoes();
245+
				SetPlayerWantedLevel(playerid, 0);
246-
forward VerificarPasta(pasta[]);
246+
				SetTimer("Soltar_Preso", Tempo_P * pInfo[playerid][Crimes], false);
247-
forward VerificarArquivo(arquivo[]);
247+
				pInfo[playerid][Preso] = 1;
248-
forward FoderSpawn(playerid);
248+
	    	}
249-
forward DiminuirTempo();
249+
250-
forward FecharPortao();
250+
251-
forward NovoSpawn(playerid);
251+
252-
forward EnviarMsgHack(playerid);
252+
253
254-
enum pInfo
254+
public OnVehicleSpawn(vehicleid)
255
{
256-
	Senha,
256+
257-
	Matou,
257+
258-
	Morreu,
258+
259-
	Admin,
259+
public OnVehicleDeath(vehicleid, killerid)
260-
	bool:Helper,
260+
261-
	Advertencias,
261+
262-
	Preso,
262+
263-
	bool:Congelado,
263+
264-
	bool:Assistindo,
264+
265-
	bool:Trabalhando,
265+
266-
	bool:Calado,
266+
267-
	bool:Invisivel,
267+
268-
	bool:Logado,
268+
269-
	bool:Vip,
269+
// --------------------------------------------------------------------------- >
270-
	bool:PegouKit,
270+
271-
	bool:Afk,
271+
CMD:car(playerid, params[])
272-
	bool:Disfarcado,
272+
273-
	bool:Escondido
273+
274
	if (pInfo[playerid][Organizacao] != Administradores)
275
	{
276-
enum eEnquete
276+
	    SendClientMessage(playerid, Branco, "Você não é um {00FFFF}Administrador");
277
	    return 1;
278-
	bool:Criada,
278+
279-
	VotoSim,
279+
280-
	VotoNao,
280+
281-
	Titulo[128]
281+
		Id, Cor[2], Float: x,
282
		Float: y,	Float: z,
283
		Carro
284-
/*      VARIAVEIS E ARRAYS      */
284+
285-
new PlayerDados[MAX_PLAYERS][pInfo];
285+
286-
new String[256];
286+
	pInfo[playerid][Licenciado] = 1;
287-
new StringContas[256];
287+
288-
new ID;
288+
	if (sscanf(params, "dii", Id, Cor[0], Cor[1]))
289-
new AdminNivel[50];
289+
290-
new AdminTrabalhando[50];
290+
		SendClientMessage(playerid, Branco, "Use: /Car [Id] [Cor] [Cor]");
291-
new Dia, Mes, Ano, Hora, Minuto, Segundo;
291+
292-
new CarrosCriados[100];
292+
293-
new TodosCarros = 0;
293+
294-
new Barris[100];
294+
		if (Id < 400 || Id > 611) return
295-
new tBarris = 0;
295+
		SendClientMessage(playerid, Branco, "ID do Veículo Inválido");
296-
new TimerPreso;
296+
297-
new nivel;
297+
		if (Cor[0] < 0 || Cor[0] > 126) return
298-
new TimerKit;
298+
		SendClientMessage(playerid, Branco, "ID da 1ª Cor Inválido");
299-
new TimerMsgs;
299+
300-
new TimerCont;
300+
		if (Cor[1] < 0 || Cor[1] > 126) return
301-
new PlayersOnline = 0;
301+
		SendClientMessage(playerid, Branco, "ID da 2ª Cor Inválido");
302-
new Enquete[eEnquete];
302+
303-
new MusicaInicial[256];
303+
		GetPlayerPos(playerid, x, y, z);
304-
new time;
304+
		Carro = CreateVehicle(Id, x, y, z, 0, Cor[0], Cor[1], false);
305-
new PortaoHQ;
305+
		PutPlayerInVehicle(playerid, Carro, 0);
306-
new CarrosAdm[14];
306+
307-
new bool:ServerTrancado;
307+
308-
new bool:MsgHack[MAX_PLAYERS];
308+
309-
new NomeOriginal[MAX_PLAYERS][30];
309+
310-
new IdClicado[MAX_PLAYERS];
310+
CMD:comprar(playerid, params [])
311-
new NomeClicado[MAX_PLAYERS][MAX_PLAYER_NAME];
311+
312-
new Ips2[300];
312+
	if (pInfo[playerid][Fazer_Compras] == 0)
313-
new Pergunta[MAX_PLAYERS][128];
313+
314-
#if USAR_SISTEMA_VIP == 1
314+
	    SendClientMessage(playerid, Vermelho, "Você não está em uma 24/7");
315-
	new CarroDono[MAX_PLAYERS];
315+
316-
	new Text3D:DonoCarro[MAX_PLAYERS];
316+
317-
#endif
317+
318
	new
319-
new Mensagens[][] = {
319+
	    Item
320-
"Você faz parte do servidor, chame seus amigos para jogarem aqui :D",
320+
321-
"Caso tenha dúvida chame um admin, use /relatorio",
321+
322-
"Use /ajuda para conhecer os comandos.",
322+
    if (sscanf(params, "i", Item))
323-
"Se você for vip use /ajudavip para ver seus comandos.",
323+
324-
"para ver os admins online use /admins, /helpers para ver os Helpers."
324+
        SendClientMessage(playerid, Vermelho, "----------------Loja----------------");
325
        SendClientMessage(playerid, Branco  , "[1] - Carteira de Motorista");
326
        SendClientMessage(playerid, Branco  , "[2] - Quentinha");
327-
new Musica[5][256] = {
327+
        SendClientMessage(playerid, Branco  , "[3] - Licença de Armas");
328-
"nada",
328+
        SendClientMessage(playerid, Branco  , "[4] - Pizza");
329-
"http://dc346.4shared.com/img/644772952/4e7e79b6/dlink__2Fdownload_2Fo0ojFABE_3Ftsid_3D20120321-013313-69c1bb08/preview.mp3",//sweet
329+
        SendClientMessage(playerid, Branco  , "[5] - Hamburguer");
330-
"http://dc427.4shared.com/img/965797774/2cb01e40/dlink__2Fdownload_2Foxa0xbKh_3Ftsid_3D20120321-013455-11ae6783/preview.mp3",//feel so close
330+
        SendClientMessage(playerid, Branco  , "[6] - Cigarros");
331-
"http://dc382.4shared.com/img/601537173/5cb8acbe/dlink__2Fdownload_2FtzgMp7lR_3Ftsid_3D20120321-013602-155261ac/preview.mp3",//memories
331+
        SendClientMessage(playerid, Vermelho, "------------------------------------");
332-
"http://dc342.4shared.com/img/567562876/400f1c84/dlink__2Fdownload_2Fa4gw9qih_3Ftsid_3D20120321-013700-7cc7c36a/preview.mp3"//open bar
332+
        return SendClientMessage(playerid, Laranja, "Use: /Comprar [ID do Item]");
333
    }
334
335-
new Cores[][] = {
335+
	if ( Item < 0 || Item > 6 )
336-
"{1BE01B}",
336+
337-
"{038003}",
337+
		SendClientMessage(playerid, Branco, "Número de Item Inválido");
338-
"{0CF50C}",
338+
339-
"{F5180C}",
339+
340-
"{0C8CF5}",
340+
341-
"{0C2BF5}",
341+
    switch ( Item )
342-
"{0CBBF5}",
342+
343-
"{F5F50C}",
343+
        case 1:
344-
"{DEDE04}",
344+
345-
"{FC9E05}",
345+
            if(GetPlayerMoney(playerid) < 5000)
346-
"{FFFFFF}",
346+
347-
"{FF05F7}",
347+
            	SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 5000");
348-
"{990594}",
348+
            	return 1;
349-
"{9C9C9C}",
349+
 			}
350-
"{14C9C9}",
350+
351-
"{05E6AD}",
351+
            pInfo[playerid][Licenciado] = 1;
352-
"{E67D05}",
352+
            SendClientMessage(playerid, Laranja, "Você comprou uma Carteira de Motorista por {FFFFFF}R$: 5000");
353-
"{6B6B6B}"
353+
            GivePlayerMoney(playerid, - 5000);
354
            return 1;
355
        }
356-
#if USAR_TEXT == 1
356+
// --------------------------------- >
357-
    new Text:Inicio[MAX_PLAYERS];
357+
        case 2:
358-
#endif
358+
359
            if(GetPlayerMoney(playerid) < 150)
360-
public OnFilterScriptInit()
360+
361
            	SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 150");
362-
    CarrosAdm[0] = CreateVehicle(432,2179.80004883,1857.69995117,10.89999962,0.00000000,-1,-1,15);
362+
            	return 1;
363-
	CarrosAdm[1] = CreateVehicle(601,2185.30004883,1857.50000000,10.80000019,0.00000000,-1,-1,15);
363+
 			}
364-
	CarrosAdm[2] = CreateVehicle(402,2188.80004883,1856.59997559,10.80000019,0.00000000,-1,-1,15);
364+
365-
	CarrosAdm[3] = CreateVehicle(411,2192.39990234,1856.80004883,10.60000038,0.00000000,-1,-1,15);
365+
            pInfo[playerid][Quentinha] ++;
366-
	CarrosAdm[4] = CreateVehicle(415,2196.19995117,1856.69995117,10.69999981,0.00000000,-1,-1,15);
366+
            SendClientMessage(playerid, Laranja, "Você comprou uma Quentinha por {FFFFFF}R$: 150. /Comer");
367-
	CarrosAdm[5] = CreateVehicle(429,2199.89990234,1856.80004883,10.60000038,0.00000000,-1,-1,15);
367+
            GivePlayerMoney(playerid, - 150);
368-
	CarrosAdm[6] = CreateVehicle(451,2179.69995117,1878.59997559,10.60000038,180.00000000,-1,-1,15);
368+
            return 1;
369-
	CarrosAdm[7] = CreateVehicle(477,2183.30004883,1878.50000000,10.69999981,180.00000000,-1,-1,15);
369+
370-
	CarrosAdm[8] = CreateVehicle(506,2187.50000000,1878.30004883,10.60000038,180.00000000,-1,-1,15);
370+
// --------------------------------- >
371-
	CarrosAdm[9] = CreateVehicle(541,2191.50000000,1878.59997559,10.50000000,180.00000000,-1,-1,15);
371+
        case 3:
372-
	CarrosAdm[10] = CreateVehicle(562,2195.30004883,1878.69995117,10.60000038,180.00000000,-1,-1,15);
372+
373-
	CarrosAdm[11] = CreateVehicle(565,2199.30004883,1878.59997559,10.50000000,180.00000000,-1,-1,15);
373+
		    if(pInfo[playerid][Horas_Jogadas] < 2)
374-
	CarrosAdm[12] = CreateVehicle(534,2202.80004883,1878.50000000,10.60000038,180.00000000,-1,-1,15);
374+
375-
	CarrosAdm[13] = CreateVehicle(535,2206.50000000,1878.90002441,10.69999981,180.00000000,-1,-1,15);
375+
		        SendClientMessage(playerid, Vermelho, "Você não tem Experiência Suficiente");
376-
	CreateObject(980,2231.50000000,1882.80004883,13.10000038,0.00000000,0.00000000,0.00000000);
376+
		        return 1;
377-
	CreateObject(980,2220.10009766,1882.80004883,13.10000038,0.00000000,0.00000000,0.00000000);
377+
		    }
378-
	CreateObject(980,2208.80004883,1882.80004883,13.10000038,0.00000000,0.00000000,0.00000000);
378+
        
379-
	CreateObject(980,2197.50000000,1882.80004883,13.10000038,0.00000000,0.00000000,0.00000000);
379+
            if(GetPlayerMoney(playerid) < 5000)
380-
	CreateObject(980,2186.30004883,1882.80004883,13.10000038,0.00000000,0.00000000,0.00000000);
380+
381-
	CreateObject(980,2174.89990234,1882.80004883,13.10000038,0.00000000,0.00000000,0.00000000);
381+
            	SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 5000");
382-
	CreateObject(980,2169.10009766,1877.19995117,13.10000038,0.00000000,0.00000000,90.00000000);
382+
            	return 1;
383-
	CreateObject(980,2169.10009766,1866.30004883,13.10000038,0.00000000,0.00000000,90.00000000);
383+
 			}
384-
	CreateObject(980,2169.10009766,1862.50000000,13.10000038,0.00000000,0.00000000,90.00000000);
384+
385-
	CreateObject(980,2169.10009766,1841.09997559,12.80000019,0.00000000,0.00000000,0.00000000);
385+
            pInfo[playerid][Licenca_Armas] = 1;
386-
	CreateObject(980,2179.00000000,1841.09997559,12.80000019,0.00000000,0.00000000,0.00000000);
386+
            SendClientMessage(playerid, Laranja, "Você comprou uma Licença de Armas.");
387-
	CreateObject(980,2189.89990234,1841.09997559,12.80000019,0.00000000,0.00000000,0.00000000);
387+
            SendClientMessage(playerid, Laranja, "Agora você pode comprar sua arma em uma Loja de Armas.");
388-
	CreateObject(980,2199.00000000,1841.09997559,12.80000019,0.00000000,0.00000000,0.00000000);
388+
            GivePlayerMoney(playerid, - 5000);
389-
	CreateObject(980,2169.10009766,1861.19995117,13.19999981,0.00000000,0.00000000,96.00000000);
389+
            return 1;
390-
	CreateObject(980,2169.89990234,1859.69995117,12.60000038,0.00000000,0.00000000,99.99853516);
390+
391-
	CreateObject(980,2171.30004883,1856.80004883,12.80000019,0.00000000,0.00000000,115.99755859);
391+
// --------------------------------- > 
392-
	CreateObject(980,2172.50000000,1855.40002441,12.80000019,0.00000000,0.00000000,133.99362183);
392+
        case 4:
393-
	CreateObject(980,2181.30004883,1851.09997559,13.10000038,0.00000000,0.00000000,180.00000000);
393+
394-
	CreateObject(980,2191.39990234,1851.09997559,13.10000038,0.00000000,0.00000000,179.99450684);
394+
            if(GetPlayerMoney(playerid) < 150)
395-
	CreateObject(980,2198.69995117,1851.09997559,13.10000038,0.00000000,0.00000000,179.99450684);
395+
396-
	CreateObject(980,2205.10009766,1835.80004883,12.60000038,0.00000000,0.00000000,272.00000000);
396+
            	SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 150");
397-
	CreateObject(980,2205.39990234,1826.00000000,12.60000038,0.00000000,0.00000000,271.99951172);
397+
            	return 1;
398-
	CreateObject(980,2222.00000000,1820.59997559,12.60000038,0.00000000,0.00000000,177.99951172);
398+
 			}
399-
	CreateObject(980,2211.19995117,1821.00000000,12.60000038,0.00000000,0.00000000,177.99499512);
399+
400-
	CreateObject(980,2242.89990234,1882.59997559,16.39999962,0.00000000,0.00000000,0.00000000);
400+
            pInfo[playerid][Pizza] ++;
401-
	CreateObject(980,2254.10009766,1882.59997559,16.39999962,0.00000000,0.00000000,0.00000000);
401+
            SendClientMessage(playerid, Laranja, "Você comprou uma Pizza por {FFFFFF}R$: 150. /Comer");
402-
	CreateObject(980,2265.39990234,1882.59997559,16.39999962,0.00000000,0.00000000,0.00000000);
402+
            GivePlayerMoney(playerid, - 150);
403-
	CreateObject(980,2276.60009766,1882.59997559,16.39999962,0.00000000,0.00000000,0.00000000);
403+
            return 1;
404-
	CreateObject(980,2287.69995117,1882.59997559,16.39999962,0.00000000,0.00000000,0.00000000);
404+
405-
	CreateObject(980,2297.69995117,1882.59997559,16.39999962,0.00000000,0.00000000,0.00000000);
405+
// --------------------------------- >
406-
	CreateObject(980,2308.19995117,1882.59997559,16.39999962,0.00000000,0.00000000,0.00000000);
406+
        case 5:
407-
	PortaoHQ = CreateObject(980,2204.39990234,1846.00000000,12.60000038,0.00000000,0.00000000,91.99951172);
407+
408-
	Create3DTextLabel("{25E01B}Admins usem {04C4C4}/PortaoAdm",-1, 2207.8176,1853.0674,10.8203, 15, 0, 0);
408+
            if(GetPlayerMoney(playerid) < 250)
409-
	SetTimer("ImprimirInformacoes", 40, false);
409+
410
            	SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 250");
411
            	return 1;
412
 			}
413-
public ImprimirInformacoes()
413+
414
            pInfo[playerid][Hamburguer] ++;
415-
	print("\n________________________________________________");
415+
            SendClientMessage(playerid, Laranja, "Você comprou um Hambúrguer por {FFFFFF}R$: 250. /Comer");
416-
	print("\n\nCarregando LL Admin V1.7 By Lucas_Alemao...\n");
416+
            GivePlayerMoney(playerid, - 150);
417-
	VerificarPasta("Logs");
417+
            return 1;
418-
	CriarLogs();
418+
419-
	VerificarPasta("Banidos");
419+
// --------------------------------- >
420-
	VerificarPasta("Banidos/Contas");
420+
        case 6:
421-
	VerificarPasta("Admins");
421+
422-
	VerificarArquivo("Fodidos.txt");
422+
            if(GetPlayerMoney(playerid) < 1500)
423-
	VerificarArquivo("Admins.adm");
423+
424-
	VerificarArquivo("Helpers.hel");
424+
            	SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 1500");
425-
	VerificarArquivo("Vips.vip");
425+
            	return 1;
426-
	VerificarPasta("Contas");
426+
 			}
427-
	print("\nLL Admin V1.7 Carregado com sucesso.\n");
427+
 			
428-
	print("\nUse /la para ajuda.");
428+
            pInfo[playerid][Cigarros] = 10;
429-
	print("Bom Jogo :D\n\n");
429+
            SendClientMessage(playerid, Laranja, "Você comprou uma Carteira de Cigarros por {FFFFFF}R$: 1500. /Fumar");
430-
	print("________________________________________________");
430+
            GivePlayerMoney(playerid, - 1500);
431
            return 1;
432
        }
433
// --------------------------------- >
434-
public VerificarPasta(pasta[])
434+
435
    return 1;
436-
	format(String, sizeof(String), "LLADMIN/%s/verificacao",pasta);
436+
437-
	DOF2_CreateFile(String);
437+
438-
	if(DOF2_FileExists(String))
438+
CMD:comer(playerid, params [])
439
{
440-
	    printf("Pasta '%s' Encontrada e carregada com sucesso.", pasta);
440+
441
	    Item
442-
	else if(!DOF2_FileExists(String))
442+
443
444-
	    printf("Pasta '%s' Não encontrada.", pasta);
444+
    if (sscanf(params, "i", Item))
445
    {
446-
	DOF2_RemoveFile(String);
446+
        SendClientMessage(playerid, Vermelho, "----------------Comer----------------");
447
        SendClientMessage(playerid, Branco  , "[1] - Quentinha");
448
        SendClientMessage(playerid, Branco  , "[2] - Pizza");
449
        SendClientMessage(playerid, Branco  , "[3] - Hambúrguer");
450-
public VerificarArquivo(arquivo[])
450+
        SendClientMessage(playerid, Vermelho, "-------------------------------------");
451
        return SendClientMessage(playerid, Laranja, "Use: /Comer [ID do Item]");
452-
	format(String, sizeof(String), "LLADMIN/%s", arquivo);
452+
453-
	if(DOF2_FileExists(String))
453+
454
	if ( Item < 0 || Item > 3 )
455-
	    printf("Arquivo '%s' Encontrado e carregado com sucesso.", arquivo);
455+
456
		SendClientMessage(playerid, Branco, "Número de Item Inválido");
457
		return 1;
458-
	else if(!DOF2_FileExists(String))
458+
459
	
460-
	    printf("Arquivo '%s' não encontrado. O FS o criou automaticamente.", arquivo);
460+
 	switch ( Item )
461-
	    DOF2_CreateFile(String);
461+
462
        case 1:
463
        {
464
			if (pInfo[playerid][Quentinha] < 1)
465
			{
466
			    SendClientMessage(playerid, Vermelho, "Você não tem uma Quentinha para comer");
467-
public OnFilterScriptExit()
467+
			    return 1;
468
			}
469-
	for(new i = 0; i < MAX_PLAYERS; ++i)
469+
470
			ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
471-
	    SalvarDados(i);
471+
			new Float: Health;
472
			GetPlayerHealth(playerid, Health);
473-
	DOF2_Exit();
473+
			SetPlayerHealth(playerid, Health + 25);
474
		 	SendClientMessage(playerid, Vermelho, "Você Comeu uma Quentinha, e Ganhou {FFFFFF}25 de Life");
475
		  	pInfo[playerid][Quentinha] --;
476
		  	return 1;
477
		}
478
// --------------------------------- >
479-
	if(strfind(Nome(playerid),"clock$",true) != -1) Ban(playerid);
479+
        case 2:
480-
	if(strfind(Nome(playerid),"prn",true) != -1) Ban(playerid);
480+
481-
 	if(strfind(Nome(playerid),"Carl",true) != -1) Ban(playerid);
481+
			if (pInfo[playerid][Pizza] < 1)
482-
	if(strfind(Nome(playerid),"con",true) != -1) Ban(playerid);
482+
483-
	if(strfind(Nome(playerid),"SgtPepper",true) != -1) Ban(playerid);
483+
			    SendClientMessage(playerid, Vermelho, "Você não tem uma Pizza para comer");
484-
	if(strfind(Nome(playerid),"Pepe",true) != -1) Ban(playerid);
484+
			    return 1;
485-
	if(strfind(Nome(playerid),"nul",true) != -1) Ban(playerid);
485+
486-
	if(strfind(Nome(playerid),"Pepno",true) != -1) Ban(playerid);
486+
487-
	if(strfind(Nome(playerid),"Pepsi",true) != -1) Ban(playerid);
487+
			ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
488-
	if(strfind(Nome(playerid),"Rocky",true) != -1) Ban(playerid);
488+
			new Float: Health;
489-
	if(strfind(Nome(playerid),"Carl",true) != -1) Ban(playerid);
489+
			GetPlayerHealth(playerid, Health);
490-
	if(strfind(Nome(playerid),"Vino_Toro",true) != -1) Ban(playerid);
490+
			SetPlayerHealth(playerid, Health + 35);
491-
	if(strfind(Nome(playerid),"Zoquete",true) != -1) Ban(playerid);
491+
		 	SendClientMessage(playerid, Vermelho, "Você Comeu uma Pizza, e Ganhou {FFFFFF}35 de Life");
492-
	if(strfind(Nome(playerid),"AquilesBrinco",true) != -1) Ban(playerid);
492+
		  	pInfo[playerid][Pizza] --;
493-
	if(strfind(Nome(playerid),"Azucar",true) != -1) Ban(playerid);
493+
		  	return 1;
494-
	if(strfind(Nome(playerid),"Manfrey",true) != -1) Ban(playerid);
494+
495-
	if(strfind(Nome(playerid),"Papirola",true) != -1) Ban(playerid);
495+
// --------------------------------- >
496-
	if(strfind(Nome(playerid),"[ViP]Labrik",true) != -1)Ban(playerid);
496+
        case 3:
497-
	if(strfind(Nome(playerid),"Sony",true) != -1) Ban(playerid);
497+
498-
	if(strfind(Nome(playerid),"Pacman",true) != -1) Ban(playerid);
498+
			if (pInfo[playerid][Hamburguer] < 1)
499-
	if(strfind(Nome(playerid),"Batman",true) != -1)Ban(playerid);
499+
500-
	if(strfind(Nome(playerid),"aux",true) != -1) Ban(playerid);
500+
			    SendClientMessage(playerid, Vermelho, "Você não tem um Hamburguer para comer");
501-
	if(strfind(Nome(playerid),"com1",true) != -1) Ban(playerid);
501+
			    return 1;
502-
	if(strfind(Nome(playerid),"com2",true) != -1) Ban(playerid);
502+
503-
	if(strfind(Nome(playerid),"com3",true) != -1) Ban(playerid);
503+
504-
	if(strfind(Nome(playerid),"com4",true) != -1) Ban(playerid);
504+
			ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
505-
	if(strfind(Nome(playerid),"com5",true) != -1) Ban(playerid);
505+
			new Float: Health;
506-
	if(strfind(Nome(playerid),"com6",true) != -1) Ban(playerid);
506+
			GetPlayerHealth(playerid, Health);
507-
	if(strfind(Nome(playerid),"com7",true) != -1) Ban(playerid);
507+
			SetPlayerHealth(playerid, Health + 50);
508-
	if(strfind(Nome(playerid),"com8",true) != -1) Ban(playerid);
508+
		 	SendClientMessage(playerid, Vermelho, "Você Comeu um Hamburguer, e Ganhou {FFFFFF}50 de Life");
509-
	if(strfind(Nome(playerid),"com9",true) != -1) Ban(playerid);
509+
		  	pInfo[playerid][Hamburguer] --;
510-
	if(strfind(Nome(playerid),"lpt1",true) != -1) Ban(playerid);
510+
		  	return 1;
511-
	if(strfind(Nome(playerid),"lpt2",true) != -1) Ban(playerid);
511+
512-
 	if(strfind(Nome(playerid),"lpt3",true) != -1) Ban(playerid);
512+
// --------------------------------- >
513-
	if(strfind(Nome(playerid),"lpt4",true) != -1) Ban(playerid);
513+
514-
	if(strfind(Nome(playerid),"lpt5",true) != -1) Ban(playerid);
514+
515-
	if(strfind(Nome(playerid),"lpt6",true) != -1) Ban(playerid);
515+
516-
	if(strfind(Nome(playerid),"lpt8",true) != -1) Ban(playerid);
516+
517-
	if(strfind(Nome(playerid),"lpt9",true) != -1) Ban(playerid);
517+
CMD:fumar(playerid, params [])
518-
	Pergunta[playerid] = "Nenhuma";
518+
519-
	SetTimerEx("TocarSom", 1000, false, "i", playerid);
519+
520-
	PlayersOnline++;
520+
	    Item
521-
	PlayerDados[playerid][Logado] = false;
521+
522-
	PlayerDados[playerid][Admin] = 0;
522+
523-
	PlayerDados[playerid][Helper] = false;
523+
    if (sscanf(params, "i", Item))
524-
	PlayerDados[playerid][Vip] = false;
524+
525-
	new strConta[80];
525+
        SendClientMessage(playerid, Vermelho, "----------------Fumar----------------");
526-
	new Ip[25];
526+
        SendClientMessage(playerid, Branco  , "[1] - Cigarros");
527-
	for(new t = 0; t < 100; ++t)
527+
        SendClientMessage(playerid, Branco  , "[2] - Maconha");
528
        SendClientMessage(playerid, Vermelho, "-------------------------------------");
529-
	    SendClientMessage(playerid, -1, " ");
529+
        return SendClientMessage(playerid, Laranja, "Use: /Fumar [ID do Item]");
530
    }
531-
	format(strConta, sizeof(strConta), "LLADMIN/Banidos/Contas/%s.txt", Nome(playerid));
531+
532-
	if(DOF2_FileExists(strConta))
532+
	if ( Item < 0 || Item > 2 )
533
	{
534-
	    format(String, sizeof(String), "{FFFFFF}Você está banido deste servidor!\n\n         Dados do Banimento:\n\n{45F75A}Admin: {FFFFFF}%s \n{45F75A}Motivo: {FFFFFF}%s", DOF2_GetString(strConta, "Admin"), DOF2_GetString(strConta, "Motivo"));
534+
		SendClientMessage(playerid, Branco, "Número de Item Inválido");
535-
	    format(String, sizeof(String), "%s\n{45F75A}Data: {FFFFFF}%d/%d/%d \n{45F75A}Hora: {FFFFFF}%d:%d", String, DOF2_GetInt(strConta, "Dia"), DOF2_GetInt(strConta, "Mes"), DOF2_GetInt(strConta, "Ano"), DOF2_GetInt(strConta, "Hora"), DOF2_GetInt(strConta, "Minuto"));
535+
536-
	    ShowPlayerDialog(playerid, DIALOG_BANIDO, DIALOG_STYLE_MSGBOX, "Banido!", String, "Fechar", "");
536+
537
538
 	switch ( Item )
539-
	GetPlayerIp(playerid, Ip, 25);
539+
540-
	if(strcmp(Ip ,"255.255.255.255", true) == 0)
540+
        case 1:
541
        {
542-
		Ban(playerid);
542+
			if (pInfo[playerid][Cigarros] < 1)
543
			{
544-
	if(DOF2_IsSet("LLADMIN/Banidos/Ips.txt", Ip))
544+
			    SendClientMessage(playerid, Vermelho, "Você não tem Cigarros para Fumar");
545
			    return 1;
546-
	    format(String, sizeof(String), "{FFFFFF} Seu IP está banido deste Servidor!\n\nDados:\nIP:%s\n%s", Ip, DOF2_GetString("LLADMIN/Banidos/Ips.txt", Ip));
546+
547-
        ShowPlayerDialog(playerid, DIALOG_BANIDO, DIALOG_STYLE_MSGBOX, "Banido!", String, "Fechar", "");
547+
548
			Timer_Cigarro = SetTimer("Fumando_Cigarro", 2000, true);
549
		  	return 1;
550-
 	if(DOF2_IsSet("LLADMIN/Fodidos.txt", Ip))
550+
551
// --------------------------------- >
552-
 	    SetTimerEx("FoderSpawn", 1000, false, "i", playerid);
552+
        case 2:
553
        {
554
			if (pInfo[playerid][Maconha] < 1)
555-
	format(String, sizeof(String), "%s Conectou ao servidor", Nome(playerid));
555+
556-
	SendClientMessageToAll(VERDE_CLARO, String);
556+
			    SendClientMessage(playerid, Vermelho, "Você não tem Maconha para Fumar");
557-
	format(StringContas, sizeof(StringContas), "LLADMIN/Contas/%s.txt", Nome(playerid));
557+
			    return 1;
558-
	#if (USAR_TEXT == 1) && (USAR_SISTEMA_REGISTRO == 1)
558+
559-
			TextFundo(playerid);
559+
560-
 	#endif
560+
			Timer_Maconha = SetTimer("Fumando_Maconha", 2500, true);
561-
	#if USAR_SISTEMA_REGISTRO == 1
561+
		  	return 1;
562-
		if(!DOF2_FileExists(StringContas))
562+
563
	}
564-
		    format(String, sizeof(String), "{F1FC14}Conta: %s\n{FC1E1E}Não registrada.\n\n{07D915}Digite uma senha para se registrar\nem nosso banco de dados.", Nome(playerid));
564+
// --------------------------------- >
565-
		    ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "{1EB2FC}Registrando...", String, "Registrar", "Sair");
565+
566
}
567
568-
		else
568+
public Soltar_Preso(playerid)
569
{
570-
		    #if AUTO_LOGIN == true
570+
	SetPlayerInterior(playerid, 0);
571-
		    	new ip[25];
571+
572-
				GetPlayerIp(playerid, ip, sizeof ip);
572+
	SendClientMessage(playerid, Verde_Claro, "Sentença completa. Agora você é livre Novamente");
573-
				if(strcmp(ip, DOF2_GetString(StringContas, "IP"), true) == 0) {
573+
	GameTextForPlayer(playerid, "~g~ Liberdade ", 2500, 1);
574-
				    PlayerDados[playerid][Matou] = DOF2_GetInt(StringContas, "Matou");
574+
	pInfo[playerid][Preso] = 0;
575-
					PlayerDados[playerid][Morreu] = DOF2_GetInt(StringContas, "Morreu");
575+
576-
					new str[50];
576+
577-
					format(str, 50, "LLADMIN/Admins/%s.sav", Nome(playerid));
577+
public Fumando_Cigarro(playerid)
578-
					if(DOF2_FileExists(str)) {
578+
579-
					    if(DOF2_IsSet(str, "Admin")) {
579+
	new Float: Armour;
580-
					    	PlayerDados[playerid][Admin] = DOF2_GetInt(str, "Admin");
580+
	GetPlayerArmour(playerid, Armour);
581-
						}
581+
	SetPlayerArmour(playerid, Armour + 5);
582-
						if(DOF2_IsSet(str, "Helper")) {
582+
	pInfo[playerid][Cigarros] --;
583-
					    	PlayerDados[playerid][Helper] = DOF2_GetBool(str, "Helper");
583+
	ApplyAnimation(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
584-
						}
584+
585-
						if(DOF2_IsSet(str, "Vip")) {
585+
	if(pInfo[playerid][Cigarros] == 0)
586-
					    	PlayerDados[playerid][Vip] = DOF2_GetBool(str, "Vip");
586+
587-
						}
587+
 		KillTimer(Timer_Cigarro);
588-
					}
588+
 		SendClientMessage(playerid, Verde, "Acabaram seus Cigarros");
589-
					PlayerDados[playerid][Advertencias] = DOF2_GetInt(StringContas, "Advertencias");
589+
	    ClearAnimations(playerid);
590-
					GivePlayerMoney(playerid, DOF2_GetInt(StringContas, "Grana"));
590+
591-
					PlayerDados[playerid][Preso] = DOF2_GetInt(StringContas, "Preso");
591+
592-
					SendClientMessage(playerid, VERDE_CLARO, "Você foi logado altomaticamente através de seu IP.");
592+
	if(Armour == 100)
593-
					#if USAR_TEXT == 1
593+
594-
						TextDrawDestroy(Inicio[playerid]);
594+
	    KillTimer(Timer_Cigarro);
595-
					#endif
595+
	    ClearAnimations(playerid);
596-
					if(PlayerDados[playerid][Admin] > 0)
596+
597-
					{
597+
598-
						format(String, sizeof(String), "Logado de Admin Nível %d", PlayerDados[playerid][Admin]);
598+
599-
						SendClientMessage(playerid, AZUL_CLARO, String);
599+
public Fumando_Maconha(playerid)
600-
						format(String, sizeof(String), "~w~Admin ~g~%s ~y~Online", Nome(playerid));
600+
601-
						GameTextForAll(String, 1000, 1);
601+
	new Float: Armour;
602-
						PlayerDados[playerid][Trabalhando] = true;
602+
	GetPlayerArmour(playerid, Armour);
603-
						SendClientMessage(playerid, AZUL_CLARO, "Você está trabalhando, para jogar use /jogar");
603+
	SetPlayerArmour(playerid, Armour + 10);
604-
						SetPlayerColor(playerid, 0x24E9FFFF);
604+
	pInfo[playerid][Maconha] --;
605-
						SetPlayerHealth(playerid, 999999);
605+
	ApplyAnimation(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
606-
					}
606+
607
	if(pInfo[playerid][Maconha] == 0)
608
	{
609-
			#endif
609+
 		KillTimer(Timer_Maconha);
610-
		    format(String, sizeof(String), "{F1FC14}Conta: %s\n{28FC14}Registrada.\n\n{14F1FC}Digite sua senha para Logar", Nome(playerid));
610+
 		SendClientMessage(playerid, Verde, "Acabaram suas Ervas");
611-
		    ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "{FC14E9}Logando...", String, "Logar", "Sair");
611+
	    ClearAnimations(playerid);
612
	}
613
614-
	#else
614+
	if(Armour == 100)
615
	{
616-
	#endif
616+
	    KillTimer(Timer_Maconha);
617
	    ClearAnimations(playerid);
618
 	}
619-
public FoderSpawn(playerid)
619+
620
621-
    SetSpawnInfo(playerid, 0, 0, 107.2300,1920.6311,18.5208, 0, 0, 0, 0, 0, 0, 0);
621+
CMD:reparo(playerid, params [])
622
{
623-
	SetPlayerWorldBounds(ID, 337.5694,101.5826,1940.9759,1798.7453);
623+
	if(pInfo[playerid][Emprego] != Mecanico)
624-
	TogglePlayerControllable(ID, false);
624+
625-
	Msg(playerid, VERMELHO, "Você foi fodido por um admin! Agora aguente!");
625+
	    SendClientMessage(playerid, Amarelo, "Você não é um Mecânico.");
626-
	PlayAudioStreamForPlayer(ID, "http://dc239.4shared.com/img/288497172/b1c25846/dlink__2Fdownload_2FAzhEPzew_3Ftsid_3D20120321-232554-e2632526/preview.mp3", 0, 0, 0, 10, 0);
626+
627
	}
628
	
629
	new
630-
public TocarSom(playerid)
630+
		Id,         Str[120],   Carro,
631
		Float: x,   Str_E[120],
632-
	if(strfind(MusicaInicial, "nada", true) != -1)
632+
		Float: y,   Nome[25],
633
		Float: z,   Nome_E[25]
634
 	;
635
	
636-
    PlayAudioStreamForPlayer(playerid, MusicaInicial, 0, 0, 0, 20, 0);
636+
 	if (sscanf(params, "u", Id))
637
    {
638
		SendClientMessage(playerid, Laranja, "Use: /Reparo [ID]");
639
		return 1;
640
    }
641
    
642-
	new Motivo[20];
642+
	if(!IsPlayerConnected(Id))
643-
	if(reason == 0) Motivo = "Queda de conexão";
643+
644-
	if(reason == 1) Motivo = "Conta própria";
644+
		SendClientMessage(playerid, Vermelho, "Jogador Não Conectado");
645-
	if(reason == 2) Motivo = "Kickado/Banido";
645+
646-
	format(String, sizeof(String), "{289E08}O Jogador {39F505}%s{289E08} Desconectou do servidor. (%s)", Nome(playerid), Motivo);
646+
647-
	MsgAll(-1, String);
647+
648-
	if(GetarDado(playerid, Admin) > 0)
648+
	if( Id == playerid)
649
	{
650-
		format(String, sizeof(String), "~w~Admin ~g~%s ~r~Offline", Nome(playerid));
650+
		SendClientMessage(playerid, Vermelho, "Você não pode reparar a Si mesmo");
651-
		GameTextForAll(String, 1000, 1);
651+
652
	}
653-
	PlayersOnline--;
653+
654-
	SalvarDados(playerid);
654+
	GetPlayerPos(Id, x, y, z);
655-
	DOF2_Exit();
655+
656
	if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z))
657
	{
658
		SendClientMessage(playerid, Branco, "Você não está Próximo ao Jogador");
659-
public FecharEnquete()
659+
 		return 1;
660
	}
661-
	new StrEnquete[256];
661+
662-
	Enquete[Criada] = false;
662+
    Carro = GetPlayerVehicleID(Id);
663-
	format(StrEnquete, 256, "Enquete %s Fechada.", Enquete[Titulo]);
663+
    RepairVehicle(Carro);
664-
	SendClientMessageToAll(ROSA, StrEnquete);
664+
	SetVehicleHealth(Carro, 1000);
665-
	format(StrEnquete, 256, "Votos Sim: %d", Enquete[VotoSim]);
665+
666-
	SendClientMessageToAll(ROSA_CHOQUE, StrEnquete);
666+
	GetPlayerName(playerid, Nome, 25), GetPlayerName(Id, Nome_E, 25);
667-
	format(StrEnquete, 256, "Voto Não: %d", Enquete[VotoNao]);
667+
	format(Str, sizeof(Str), "Você Reparou o Veículo do Jogador {FFFFFF}%s", Nome_E);
668-
	SendClientMessageToAll(ROSA_CHOQUE, StrEnquete);
668+
	format(Str_E, sizeof(Str_E), "Seu Veículo foi reparado pelo mecânico {FFFFFF}%s", Nome);
669-
	if(Enquete[VotoSim] > Enquete[VotoNao])
669+
	SendClientMessage(Id, Amarelo, Str_E),	SendClientMessage(playerid, Amarelo, Str);
670
	return 1;
671-
	    SendClientMessageToAll(ROSA, "\nO Sim Venceu.");
671+
672
673
CMD:procurar(playerid, params [])
674-
	if(Enquete[VotoNao] > Enquete[VotoSim])
674+
675
	if(pInfo[playerid][Emprego] != Detetive)
676-
	    SendClientMessageToAll(ROSA, "\nO Nao Venceu.");
676+
677
	    SendClientMessage(playerid, Amarelo, "Você não é um Detetive.");
678
	    return 1;
679
	}
680
	
681
	new
682
		Float: x,   Str[85],
683-
    if(DOF2_IsSet("LLADMIN/Admins.adm", Nome(playerid)))
683+
		Float: y,
684
		Float: z
685-
		PlayerDados[playerid][Admin] = DOF2_GetInt("LLADMIN/Admins.adm", Nome(playerid));
685+
 	;
686
	
687-
	if(DOF2_IsSet("LLADMIN/Helpers.hel", Nome(playerid)))
687+
 	if (sscanf(params, "u", Id_Check))
688
    {
689-
		SetarDado(playerid, Helper, DOF2_GetBool("LLADMIN/Helpers.hel", Nome(playerid)));
689+
		SendClientMessage(playerid, Laranja, "Use: /Procurar [ID]");
690
		return 1;
691-
	if(DOF2_IsSet("LLADMIN/Vips.vip", Nome(playerid)))
691+
692
    
693-
		SetarDado(playerid, Vip, DOF2_GetBool("LLADMIN/vips.vip", Nome(playerid)));
693+
    GetPlayerPos(Id_Check, x, y, z);
694
	SetPlayerCheckpoint(Id_Check, x, y, z, 1.0);
695-
    format(StringContas, sizeof(StringContas), "LLADMIN/Contas/%s.txt", Nome(playerid));
695+
	SetTimer("Cont_P", 1000, false);
696-
	#if SPAWNAR_HQ == 1
696+
697-
    	if((PlayerDados[playerid][Admin] > 0) || (PlayerDados[playerid][Helper] == true))
697+
	format(Str, sizeof(Str), "Você procurou o id %d . Ache ele no Mapa. Você tem 5 Seg!", Id_Check);
698
	SendClientMessage(playerid, Amarelo, Str);
699-
    		SetTimerEx("NovoSpawn", 500, false, "i", playerid);
699+
700
}
701-
	#endif
701+
702-
	SetTimerEx("VerificarPreso", 1000, false, "i", playerid);
702+
CMD:meuskin(playerid, params [])
703-
	ResetPlayerWeapons(playerid);
703+
704-
	#if USAR_SISTEMA_REGISTRO == 0
704+
705-
		if(!DOF2_FileExists(StringContas))
705+
	if (pInfo[playerid][Loja_Roupas] != 1)
706
	{
707-
		    DOF2_CreateFile(StringContas);
707+
	    SendClientMessage(playerid, Vermelho, "Você não está em uma Loja de Roupas");
708-
			DOF2_SetInt(StringContas, "Matou", 0);
708+
709-
			DOF2_SetInt(StringContas, "Morreu", 0);
709+
710-
			DOF2_SetInt(StringContas, "Grana", 0);
710+
711-
			//DOF2_SetInt(StringContas, "Admin", 0);
711+
712-
			//DOF2_SetBool(StringContas, "Helper", false);
712+
		Skin
713-
			DOF2_SetInt(StringContas, "Advertencias", 0);
713+
 	;
714-
			DOF2_SetInt(StringContas, "Preso", 0);
714+
715-
			//DOF2_SetBool(StringContas, "Vip", false);
715+
	if (sscanf(params, "i", Skin))
716-
			PlayerDados[playerid][Logado] = true;
716+
717
		SendClientMessage(playerid, -1, "Use: /meuskin [Id]");
718-
		if(DOF2_FileExists(StringContas))
718+
719
 	else
720-
			PlayerDados[playerid][Matou] = DOF2_GetInt(StringContas, "Matou");
720+
721-
			PlayerDados[playerid][Morreu] = DOF2_GetInt(StringContas, "Morreu");
721+
	 	if ( Skin > 299 )
722-
			if(DOF2_IsSet("LLADMIN/Admins.adm", Nome(playerid)))
722+
	 	{
723
			SendClientMessage(playerid, Branco, "ID da Skin Inválido");
724-
			    PlayerDados[playerid][Admin] = DOF2_GetInt("LLADMIN/Admins.adm", Nome(playerid));
724+
725
  		}
726-
			PlayerDados[playerid][Advertencias] = DOF2_GetInt(StringContas, "Advertencias");
726+
  		
727-
			GivePlayerMoney(playerid, DOF2_GetInt(StringContas, "Grana"));
727+
  		if ( GetPlayerMoney(playerid) < 1200)
728-
			PlayerDados[playerid][Preso] = DOF2_GetInt(StringContas, "Preso");
728+
  		{
729-
			if(DOF2_IsSet("LLADMIN/Helpers.hel", Nome(playerid)))
729+
  		    SendClientMessage(playerid, Branco, "Você não tem dinheiro Suficiente");
730
  		    return 1;
731-
			    PlayerDados[playerid][Helper] = DOF2_GetBool("LLADMIN/Vips.vip", Nome(playerid));
731+
  		}
732
  		
733-
			if(DOF2_IsSet("LLADMIN/Vips.vip", Nome(playerid)))
733+
  		SendClientMessage(playerid, Amarelo, "A Roupa Custou R$ : {FFFFFF}1200");
734
		GivePlayerMoney(playerid, - 1200);
735-
			    PlayerDados[playerid][Vip] = DOF2_GetBool("LLADMIN/Vips.vip", Nome(playerid));
735+
		SetPlayerSkin(playerid, Skin);
736
 	}
737-
			//PlayerDados[playerid][Helper] = DOF2_GetBool(StringContas, "Helper");
737+
738-
			//PlayerDados[playerid][Vip] = DOF2_GetBool(StringContas, "Vip");
738+
739-
			if((PlayerDados[playerid][Admin] > 0) && (PlayerDados[playerid][Logado] == false))
739+
740
CMD:tempo(playerid, params [])
741-
			    PlayerDados[playerid][Logado] = true;
741+
742-
				format(String, sizeof(String), "Logado de Admin Nível %d", PlayerDados[playerid][Admin]);
742+
	if (pInfo[playerid][Organizacao] != Administradores)
743-
				SendClientMessage(playerid, AZUL_CLARO, String);
743+
744-
				format(String, sizeof(String), "~w~Admin ~g~%s ~y~Online", Nome(playerid));
744+
	    SendClientMessage(playerid, Branco, "Você não é um {00FFFF}Administrador");
745-
				GameTextForAll(String, 1000, 1);
745+
746-
				PlayerDados[playerid][Trabalhando] = true;
746+
747-
				SendClientMessage(playerid, AZUL_CLARO, "Você está trabalhando, para jogar use /jogar");
747+
748-
				SetPlayerColor(playerid, 0x24E9FFFF);
748+
749-
				SetPlayerHealth(playerid, 999999);
749+
		Tempo
750
	;
751
752-
	#endif
752+
	if (sscanf(params, "i", Tempo))
753-
	return 0;
753+
754
		SendClientMessage(playerid, -1, "Use: /tempo [Id]");
755
	}
756
	else
757
	{
758-
	new ping = GetPlayerPing(playerid);
758+
 		if ( Tempo > 24 )
759-
	if(ping > MAX_PING)
759+
760
			SendClientMessage(playerid, Branco, "ID do Tempo Inválido");
761-
	    MensagemFormatadaParaTodos(AZUL_CLARO, "O jogador %s [ID: %d] foi kickado do servidor por ultrapassar o ping maximo (%d).", Nome(playerid), playerid, MAX_PING);
761+
762-
		Kick(playerid);
762+
  		}
763
764-
	new Arma = GetPlayerWeapon(playerid);
764+
		SetWorldTime(Tempo);
765-
	if(MsgHack[playerid] == true) return 1;
765+
766-
	switch(Arma)
766+
767
}
768-
	    case 9:
768+
769
CMD:clima(playerid, params [])
770-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando uma serra eletrica. /assitir para conferir.", Nome(playerid), playerid);
770+
771-
	        MensagemParaAdmins(String);
771+
	if (pInfo[playerid][Organizacao] != Administradores)
772-
	        MsgHack[playerid] = true;
772+
773-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
773+
	    SendClientMessage(playerid, Branco, "Você não é um {00FFFF}Administrador");
774
	    return 1;
775-
		case 35:
775+
776
777-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando um lança-misseis. /assitir para conferir.", Nome(playerid), playerid);
777+
778-
	        MensagemParaAdmins(String);
778+
779-
	        MsgHack[playerid] = true;
779+
	if (sscanf(params, "i", Clima))
780-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
780+
781
		SendClientMessage(playerid, -1, "Use: /Clima [Id]");
782-
		case 36:
782+
783
	else
784-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando um lança-misseis. /assitir para conferir.", Nome(playerid), playerid);
784+
785-
	        MensagemParaAdmins(String);
785+
 		if ( Clima > 45 )
786-
	        MsgHack[playerid] = true;
786+
 		{
787-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
787+
			SendClientMessage(playerid, Branco, "ID do Clima Inválido");
788
			return 1;
789-
		case 37:
789+
  		}
790
791-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando um lança-chamas. /assitir para conferir.", Nome(playerid), playerid);
791+
		SetWeather(Clima);
792-
	        MensagemParaAdmins(String);
792+
793-
	        MsgHack[playerid] = true;
793+
794-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
794+
795
796-
		case 38:
796+
CMD:setarmembro(playerid, params [])
797
{
798-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando uma minigun. /assitir para conferir.", Nome(playerid), playerid);
798+
	if (pInfo[playerid][Organizacao] != Administradores)
799-
	        MensagemParaAdmins(String);
799+
800-
	        MsgHack[playerid] = true;
800+
	    SendClientMessage(playerid, Branco, "Você não é um {00FFFF}Administrador");
801-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
801+
802
	}
803-
		case 39:
803+
804
	new
805-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando explosivos remotos. /assitir para conferir.", Nome(playerid), playerid);
805+
	    Id, Id_Cargo,
806-
	        MensagemParaAdmins(String);
806+
		Id_Org
807-
	        MsgHack[playerid] = true;
807+
808-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
808+
809
    if(sscanf(params, "uii", Id, Id_Org, Id_Cargo))
810-
		case 40:
810+
811
        SendClientMessage(playerid,-1,"Use: /setarmembro [Id] [Id Organização] [Id Cargo]");
812-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando um detonador. /assitir para conferir.", Nome(playerid), playerid);
812+
813-
	        MensagemParaAdmins(String);
813+
    else
814-
	        MsgHack[playerid] = true;
814+
815-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
815+
  		if(!IsPlayerConnected(Id))
816
		{
817-
		case 43:
817+
			SendClientMessage(playerid, Branco, "Jogador Não Conectado");
818
	        return 1;
819-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando uma camera fotografica. /assitir para conferir.", Nome(playerid), playerid);
819+
   		}
820-
	        MensagemParaAdmins(String);
820+
821-
	        MsgHack[playerid] = true;
821+
		if(pInfo[Id][Organizacao] != 0 || pInfo[Id][Cargo] != 0)
822-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
822+
823
			SendClientMessage(playerid, Branco, "Este Jogador Já Possui uma Organização");
824-
		case 44:
824+
825
   		}
826-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando oculos de visão noturna. /assitir para conferir.", Nome(playerid), playerid);
826+
827-
	        MensagemParaAdmins(String);
827+
 	 	if ( Id_Org < 21 || Id_Org > 33 )
828-
	        MsgHack[playerid] = true;
828+
 	 	{
829-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
829+
			SendClientMessage(playerid, Branco, "ID da Organização Inválido");
830
			return 1;
831-
		case 45:
831+
832
833-
	        format(String, sizeof(String), "[ANTI WH] O jogador %s [ID: %d] está usando oculos de visão noturna. /assitir para conferir.", Nome(playerid), playerid);
833+
 	 	if ( Id_Cargo > 6 )
834-
	        MensagemParaAdmins(String);
834+
 	 	{
835-
	        MsgHack[playerid] = true;
835+
			SendClientMessage(playerid, Branco, "ID do Cargo Inválido");
836-
	        SetTimerEx("EnviarMsgHack", 60000, true, "i", playerid);
836+
837
		}
838
839
    	pInfo[Id][Organizacao] = Id_Org;
840
        pInfo[Id][Cargo] = Id_Cargo;
841
        SpawnPlayer(Id);
842-
public EnviarMsgHack(playerid)
842+
843
        new
844-
	MsgHack[playerid] = false;
844+
			Str[80],
845
			Nome[25]
846
		;
847
848-
public NovoSpawn(playerid)
848+
		GetPlayerName(playerid, Nome, 25);
849
850-
	SetPlayerPos(playerid, 2225.9814,1837.7249,10.8203);
850+
        format(Str, sizeof(Str),"%s Organização %d Cargo %d", Nome, pInfo[playerid][Organizacao], pInfo[playerid][Cargo]);
851-
	SetPlayerFacingAngle(playerid, 98.0608);
851+
        SendClientMessage(playerid, Branco, Str);
852
    }
853
	return 1;
854
}
855-
public VerificarPreso(playerid)
855+
856
CMD:mp(playerid, params [])
857-
    if(PlayerDados[playerid][Preso] > 0)
857+
858
	new
859-
    	SetPlayerPos(ID, 264.6288,77.5742,1001.0391);
859+
	    Str_S [120],  Nome_S[25],
860-
    	SetPlayerInterior(ID, 6);
860+
	    Str_E [120],  Nome_E[25],
861-
    	SendClientMessage(playerid, VERMELHO, "Seu Tempo de Cadeia ainda não acabou!");
861+
	    Id,           Texto[120]
862-
    	TimerPreso = SetTimerEx("TempoPreso", 1000, true, "i", playerid);
862+
 	;
863
864
	if (sscanf(params, "us[120]", Id, Texto))
865
	{
866
		SendClientMessage(playerid, -1, "Use: /MP [Id] [Texto]");
867
	}
868
	else
869-
	if((vehicleid >= CarrosAdm[0]) && (vehicleid <= CarrosAdm[13]))
869+
870
		if (pInfo[Id][Organizacao] != Administradores)
871-
	    if((PlayerDados[playerid][Helper] == false) || (PlayerDados[playerid][Admin] < 1))
871+
872
		    SendClientMessage(playerid, Branco, "Este Jogador não é um{00FFFF}Administrador");
873-
	        RemovePlayerFromVehicle(playerid);
873+
		    return 1;
874-
			Msg(playerid, CINZA, "Você precisa ser admin para usar este carro.");
874+
875
876
		if(!IsPlayerConnected(Id))
877-
	if(PlayerDados[playerid][Admin] > 0)
877+
878
			SendClientMessage(playerid, Branco, "Jogador Não Conectado");
879-
	    if(PlayerDados[playerid][Trabalhando] == true)
879+
880
		}
881-
			SetTimerEx("NomeCarro", 3500, false, "i", playerid);
881+
882
		GetPlayerName(playerid, Nome_E, 25);
883
		GetPlayerName(Id, Nome_S, 25);
884-
	return 0;
884+
885
		format(Str_E, sizeof(Str_E), "Mensagem enviada para o Jogador {00FFFF}%s", Nome_S);
886
		format(Str_S, sizeof(Str_S), "MP de {00FFFF}%s {FFFFFF}: {00FFFF}%s", Nome_E, Texto);
887-
public NomeCarro(playerid)
887+
888
		SendClientMessage(playerid, Branco, Str_E);
889-
	new idc = GetPlayerVehicleID(playerid);
889+
		SendClientMessage(Id, Branco, Str_S);
890-
	format(String, sizeof(String), "[LL ADMIN] Veículo ID %d", idc);
890+
891-
	SendClientMessage(playerid, CINZA, String);
891+
892
}
893
894
CMD:pagar(playerid, params [])
895
{
896-
	PlayerDados[playerid][Morreu]++;
896+
897-
	PlayerDados[killerid][Matou]++;
897+
	    Str_S [120],  Nome_S[25],
898-
	format(StringContas, sizeof(StringContas), "LLADMIN/Contas/%s.txt", Nome(playerid));
898+
	    Str_E [120],  Nome_E[25],
899-
	if(DOF2_IsSet("LLADMIN/Admins.adm", Nome(playerid)))
899+
	    Id,           Valor
900
 	;
901-
	    PlayerDados[playerid][Admin] = DOF2_GetInt("LLADMIN/Admins.adm", Nome(playerid));
901+
902
	if (sscanf(params, "ui", Id, Valor))
903-
	KillTimer(TimerKit);
903+
904-
	return 0;
904+
		SendClientMessage(playerid, -1, "Use: /Pagar [Id] [Valor]");
905
	}
906
	else
907-
public OnPlayerClickPlayer(playerid, clickedplayerid, source) {
907+
908-
	/*if(clickedplayerid == playerid)
908+
		if(!IsPlayerConnected(Id))
909-
	    return false;*/
909+
910-
	IdClicado[playerid] = clickedplayerid;
910+
			SendClientMessage(playerid, Branco, "Jogador Não Conectado");
911-
	NomeClicado[playerid] = Nome(clickedplayerid);
911+
912-
	if(!(NivelRequerido(playerid, 1))) return 1;
912+
913-
	format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
913+
914-
	ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
914+
915
		    Float: x,
916
		    Float: y,
917
		    Float: z
918
  		;
919
920-
	new str2[256];
920+
		GetPlayerPos(Id, x, y, z);
921-
	if((strfind(text, "7777", true) != -1) || (strfind(text, "7788", true) != -1) || (strfind(text, "189.", true) != -1) || (strfind(text, "187.", true) != -1) || (strfind(text, "185.", true) != -1) || (strfind(text, "7575", true) != -1) || (strfind(text, "75.", true) != -1))
921+
922
  		if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z))
923-
	    MensagemFormatadaParaTodos(AZUL_CLARO, "O Jogador {FB0000}%s{00C2EC} Foi Banido por divulgar IP.\r\n", Nome(playerid));
923+
  		{
924-
	    EscreverLog("LLADMIN/Logs/Banidos.log", String);
924+
  			SendClientMessage(playerid, Branco, "Você não está Próximo ao Jogador");
925-
		format(String, sizeof(String), "LLADMIN/Banidos/Contas/%s.txt", Nome(playerid));
925+
  		    return 1;
926-
		getdate(Ano, Mes, Dia);
926+
	 	}
927-
		gettime(Hora, Minuto, Segundo);
927+
928-
		DOF2_CreateFile(String);
928+
  		if(GetPlayerMoney(playerid) < Valor)
929-
		DOF2_SetString(String, "Admin", "Admin automatico");
929+
  		{
930-
		DOF2_SetString(String, "Motivo", "Divulgação de IP");
930+
  			SendClientMessage(playerid, Branco, "Você não tem toda essa Grana");
931-
		DOF2_SetInt(String, "Ano", Ano);
931+
932-
		DOF2_SetInt(String, "Mes", Mes);
932+
  		}
933-
		DOF2_SetInt(String, "Dia", Dia);
933+
934-
		DOF2_SetInt(String, "Hora", Hora);
934+
		GetPlayerName(playerid, Nome_E, 25);
935-
		DOF2_SetInt(String, "Minuto", Minuto);
935+
		GetPlayerName(Id, Nome_S, 25);
936-
		Kick(playerid);
936+
937
		format(Str_E, sizeof(Str_E), "Você Pagou R$: {00FFFF}%d{FFFFFF} Para o Jogador {00FFFF}%s", Valor, Nome_S);
938-
	format(String, sizeof(String), "LLADMIN/Teleportes/%s.txt", text);
938+
		format(Str_S, sizeof(Str_S), "Você Recebeu R$: {00FFFF}%d{FFFFFF} Do Jogador {00FFFF}%s", Valor, Nome_E);
939-
	if(DOF2_FileExists(String))
939+
940
		SendClientMessage(playerid, Branco, Str_E);
941-
   		format(str2, sizeof(str2), "O Jogador %s foi para o 'te %s' [Teleporte Criado pelo Admin: %s] (para ir basta digitar as palavras entre aspas)", Nome(playerid), DOF2_GetString(String, "Comando"), DOF2_GetString(String, "Admin"));
941+
		SendClientMessage(Id, Branco, Str_S);
942-
		SendClientMessageToAll(AMARELO, str2);
942+
943-
		SetPlayerPos(playerid, DOF2_GetFloat(String, "X"), DOF2_GetFloat(String, "Y"), DOF2_GetFloat(String, "Z"));
943+
  		GivePlayerMoney(Id, Valor);
944-
		return 0;
944+
	    GivePlayerMoney(playerid, - Valor);
945
	}
946-
	if(PlayerDados[playerid][Calado] == true)
946+
947
}
948-
	    SendClientMessage(playerid, BRANCO, "Você Está calado e não pode falar!");
948+
949-
	    return 0;
949+
CMD:kick(playerid, params [])
950
{
951-
	#if DESTAQUE_ADMINS == 1
951+
	if (pInfo[playerid][Organizacao] != Administradores)
952-
		if(GetarDado(playerid, Admin) > 1)
952+
953
	    SendClientMessage(playerid, Branco, "Você não é um {00FFFF}Administrador");
954-
		    if(GetarDado(playerid, Disfarcado) == true)
954+
955
	}
956-
	    	    format(String, sizeof(String), "%s: %s", Nome(playerid), text);
956+
957-
		    	MsgAll(GetPlayerColor(playerid), String);
957+
958-
				return 0;
958+
	    Nome_S[25],   Motivo[120],
959
	    Str_E [148],  Nome_E[25]
960-
		    format(String, sizeof(String), "[ADM] %s: %s", Nome(playerid), text);
960+
 	;
961-
	    	MsgAll(GetPlayerColor(playerid), String);
961+
962-
		    return 0;
962+
	if (sscanf(params, "us[120]", Id_Kick, Motivo))
963
	{
964-
	#endif
964+
		SendClientMessage(playerid, -1, "Use: /Kick [Id] [Motivo]");
965
	}
966
	else
967
	{
968
		if(!IsPlayerConnected(Id_Kick))
969
		{
970-
	if(dialogid == DIALOG_REGISTRO)
970+
			SendClientMessage(playerid, Branco, "Jogador Não Conectado");
971
			return 1;
972-
	    if(response)
972+
973
974-
	        if(!strlen(inputtext))
974+
		GetPlayerName(playerid, Nome_E, 25);
975-
	        {
975+
		GetPlayerName(Id_Kick, Nome_S, 25);
976-
	            format(String, sizeof(String), "{F1FC14}Conta: %s\n{FC1E1E}Não registrada.\n\n{07D915}Digite uma senha para se registrar\nem nosso banco de dados.", Nome(playerid));
976+
977-
		    	ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "{1EB2FC}Registrando...", String, "Registrar", "Sair");
977+
		format(Str_E, sizeof(Str_E), "O Administrador {00FFFF}%s {FFFFFF}Kickou {00FFFF}%s{FFFFFF}. Motivo: {00FFFF}%s", Nome_E, Nome_S, Motivo);
978-
	            SendClientMessage(playerid, VERMELHO, "Digite uma senha para se registrar ¬¬");
978+
		SendClientMessageToAll( Branco, Str_E);
979-
	            return 1;
979+
		SetTimer("Kick_Player", 10, false);
980
	}
981-
			format(StringContas, sizeof(StringContas), "LLADMIN/Contas/%s.txt", Nome(playerid));
981+
982-
			DOF2_CreateFile(StringContas);
982+
983-
			DOF2_SetString(StringContas, "Senha", inputtext);
983+
984-
			DOF2_SetInt(StringContas, "Matou", 0);
984+
CMD:pedircontas(playerid)
985-
			DOF2_SetInt(StringContas, "Morreu", 0);
985+
986-
			DOF2_SetInt(StringContas, "Grana", 0);
986+
987-
			DOF2_SetInt(StringContas, "Advertencias", 0);
987+
	    Str[120]
988-
			DOF2_SetInt(StringContas, "Preso", 0);
988+
 	;
989-
			SendClientMessage(playerid, AZUL_CLARO, "Registrado Com Sucesso! você foi logado automaticamente");
989+
990-
			#if USAR_TEXT == 1
990+
	if (pInfo[playerid][Emprego] == Desempregado)
991-
				TextDrawDestroy(Inicio[playerid]);
991+
992-
			#endif
992+
		SendClientMessage(playerid, Vermelho, "Você Já é Desempregado");
993
		return 1;
994
	}
995-
		else
995+
996
	if (!(pInfo[playerid][Contrato] == 0))
997-
		    SendClientMessage(playerid, VERMELHO, "Você não quis se registrar e por isso foi kickado!");
997+
998-
			Kick(playerid);
998+
		format(Str, sizeof(Str), "Você não pode sair do emprego, ainda restam %d Horas de contrato do Emprego antigo.", pInfo[playerid][Contrato]);
999
		SendClientMessage(playerid, Amarelo, Str);
1000
		return 1;
1001
 	}
1002-
	if(dialogid == DIALOG_LOGIN)
1002+
 	
1003
 	pInfo[playerid][Emprego] = Desempregado;
1004-
	    if(response)
1004+
 	SendClientMessage(playerid, Verde_Claro, "Você completou suas horas de trabalho e saiu do emprego. Agora você é Desempregado");
1005
	return 1;
1006-
	        if(!strlen(inputtext))
1006+
1007-
	        {
1007+
1008-
	            format(String, sizeof(String), "{F1FC14}Conta: %s\n{28FC14}Registrada.\n\n{14F1FC}Digite sua senha para Logar", Nome(playerid));
1008+
CMD:venderarma(playerid, params [])
1009-
		    	ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "{FC14E9}Logando...", String, "Logar", "Sair");
1009+
1010-
	            SendClientMessage(playerid, VERMELHO, "Digite sua senha para se logar ¬¬");
1010+
	if (pInfo[playerid][Emprego] != Vendedor_de_Armas)
1011-
	            return 1;
1011+
1012
	    SendClientMessage(playerid, Branco, "Você não é um Vendedor de Armas");
1013-
			format(StringContas, sizeof(StringContas), "LLADMIN/Contas/%s.txt", Nome(playerid));
1013+
1014-
			if(strcmp(inputtext, DOF2_GetString(StringContas, "Senha"), true))
1014+
1015
1016-
                format(String, sizeof(String), "{F1FC14}Conta: %s\n{28FC14}Registrada.\n\n{14F1FC}Digite sua senha para Logar", Nome(playerid));
1016+
1017-
		    	ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "{FC14E9}Logando...", String, "Logar", "Sair");
1017+
	    Nome_S[25],		Nome_E[25],    Str_Wanted[60],
1018-
                SendClientMessage(playerid, VERMELHO_CLARO, "Senha incorreta!");
1018+
	    Str_S [148],    Str_E [148],
1019
	    Id,     Arma,   Balas
1020
 	;
1021-
			else
1021+
1022
	if (sscanf(params, "uii", Id, Arma, Balas))
1023-
				PlayerDados[playerid][Matou] = DOF2_GetInt(StringContas, "Matou");
1023+
1024-
				PlayerDados[playerid][Morreu] = DOF2_GetInt(StringContas, "Morreu");
1024+
		return SendClientMessage(playerid, -1, "Use: /VenderArma [Id] [Arma] [Balas]");
1025-
				/*PlayerDados[playerid][Admin] = DOF2_GetInt(StringContas, "Admin");
1025+
1026-
//old			if(DOF2_IsSet("LLADMIN/Admins.adm", Nome(playerid)))
1026+
1027
	{
1028-
					PlayerDados[playerid][Admin] = DOF2_GetInt("LLADMIN/Admins.adm", Nome(playerid));
1028+
        if (pInfo[playerid][Materiais] < Balas * Arma)
1029
        {
1030-
				if(DOF2_IsSet("LLADMIN/Helpers.hel", Nome(playerid)))
1030+
             SendClientMessage(playerid, Branco, "Você não tem Materiais Suficientes");
1031
             return 1;
1032-
			    	PlayerDados[playerid][Helper] = DOF2_GetBool("LLADMIN/Helpers.hel", Nome(playerid));
1032+
1033
        
1034-
				if(DOF2_IsSet("LLADMIN/Vips.vip", Nome(playerid)))
1034+
		if(!IsPlayerConnected(Id))
1035
		{
1036-
			    	PlayerDados[playerid][Vip] = DOF2_GetBool("LLADMIN/Vips.vip", Nome(playerid));
1036+
			SendClientMessage(playerid, Branco, "Jogador Não Conectado");
1037-
				}*/
1037+
1038-
				new str[50];
1038+
1039-
				format(str, 50, "LLADMIN/Admins/%s.sav", Nome(playerid));
1039+
1040-
				if(DOF2_FileExists(str)) {
1040+
1041-
				    if(DOF2_IsSet(str, "Admin")) {
1041+
	if( Id == playerid)
1042-
				    	PlayerDados[playerid][Admin] = DOF2_GetInt(str, "Admin");
1042+
1043-
					}
1043+
			SendClientMessage(playerid, Vermelho, "Você não pode Vender Armas a sí mesmo");
1044-
					if(DOF2_IsSet(str, "Helper")) {
1044+
1045-
				    	PlayerDados[playerid][Helper] = DOF2_GetBool(str, "Helper");
1045+
1046-
					}
1046+
1047-
					if(DOF2_IsSet(str, "Vip")) {
1047+
1048-
				    	PlayerDados[playerid][Vip] = DOF2_GetBool(str, "Vip");
1048+
		    Float: x,
1049-
					}
1049+
		    Float: y,
1050
		    Float: z
1051-
				PlayerDados[playerid][Advertencias] = DOF2_GetInt(StringContas, "Advertencias");
1051+
  		;
1052-
				GivePlayerMoney(playerid, DOF2_GetInt(StringContas, "Grana"));
1052+
1053-
				PlayerDados[playerid][Preso] = DOF2_GetInt(StringContas, "Preso");
1053+
		GetPlayerPos(Id, x, y, z);
1054-
				//PlayerDados[playerid][Helper] = DOF2_GetBool(StringContas, "Helper");
1054+
1055-
				//PlayerDados[playerid][Vip] = DOF2_GetBool(StringContas, "Vip");
1055+
  		if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z))
1056-
				SendClientMessage(playerid, VERDE_CLARO, "Logado Com sucesso!");
1056+
  		{
1057-
				#if USAR_TEXT == 1
1057+
  			SendClientMessage(playerid, Branco, "Você não está Próximo ao Jogador");
1058-
					TextDrawDestroy(Inicio[playerid]);
1058+
  		    return 1;
1059-
				#endif
1059+
	 	}
1060-
				if(PlayerDados[playerid][Admin] > 0)
1060+
1061
		if (!(Arma == 22 || Arma == 24 || Arma == 25 || Arma == 29 || Arma == 30 || Arma == 31 || Arma == 34 || Arma == 4))
1062-
					format(String, sizeof(String), "Logado de Admin Nível %d", PlayerDados[playerid][Admin]);
1062+
1063-
					SendClientMessage(playerid, AZUL_CLARO, String);
1063+
             SendClientMessage(playerid, Branco, "ID da Arma Inválido");
1064-
					format(String, sizeof(String), "~w~Admin ~g~%s ~y~Online", Nome(playerid));
1064+
             return 1;
1065-
					GameTextForAll(String, 1000, 1);
1065+
1066-
					PlayerDados[playerid][Trabalhando] = true;
1066+
1067-
					SendClientMessage(playerid, AZUL_CLARO, "Você está trabalhando, para jogar use /jogar");
1067+
        if (Balas < 0 || Balas > 999)
1068-
					SetPlayerColor(playerid, 0x24E9FFFF);
1068+
1069-
					SetPlayerHealth(playerid, 999999);
1069+
             SendClientMessage(playerid, Branco, "Número de Balas Inválido {00FFFF}[ Min :0 Max :999]");
1070
             return 1;
1071
        }
1072
        
1073
        if(pInfo[Id][Debug] == 0)
1074
        {
1075-
		else
1075+
			if (pInfo[Id][Licenca_Armas] == 0)
1076
			{
1077-
		    SendClientMessage(playerid, VERMELHO, "Você não quis se Logar e por isso foi kickado!");
1077+
			    pInfo[Id][Crimes] ++;
1078-
			Kick(playerid);
1078+
			    SendClientMessage(Id, Vermelho, "Você Cometeu um Crime : {FFFFFF}Porte ilegal de Armas");
1079
				format(Str_Wanted, sizeof(Str_Wanted), "Nivel Atual de Procura : {FFFFFF}%d", pInfo[Id][Crimes]);
1080
				SendClientMessage(Id, Amarelo, Str_Wanted);
1081
			    SetPlayerWantedLevel(Id, pInfo[Id][Crimes]);
1082-
	if(dialogid == DIALOG_BANIDO)
1082+
			    pInfo[Id][Debug] = 1;
1083
			}
1084-
	    if(response)
1084+
1085
1086-
	        SendClientMessage(playerid, BRANCO, "Kickado");
1086+
		GetPlayerName(playerid, Nome_E, 25);
1087-
	        Kick(playerid);
1087+
		GetPlayerName(Id, Nome_S, 25);
1088
1089
		format(Str_E, sizeof(Str_E), "Você Vendeu Armas para o Jogador {00FFFF}%s{FFFFFF} [Arma: %d Balas: %d]", Nome_S, Arma, Balas);
1090
		format(Str_S, sizeof(Str_S), "Você Recebeu Armas do Traficante {00FFFF}%s{FFFFFF} [Arma: %d Balas: %d]", Nome_E, Arma, Balas);
1091-
	if(dialogid == DIALOG_ADM)
1091+
1092
		pInfo[playerid][Materiais] -= Balas * Arma;
1093-
	    if(response)
1093+
1094
		SendClientMessage(playerid, Branco, Str_E);
1095-
			format(String, sizeof(String), "O Jogador {1B95E0}%s{00C2EC} é o mais novo admin do server!", Nome(playerid));
1095+
		SendClientMessage(Id, Branco, Str_S);
1096-
			SendClientMessageToAll(AZUL_CLARO, String);
1096+
  		GivePlayerWeapon(Id, Arma, Balas);
1097-
			EscreverLog("LLADMIN/Logs/NovoAdm.log", String);
1097+
1098-
			SendClientMessage(playerid, VERDE_CLARO, "Use /la para ver seus comandos de Admin.");
1098+
1099-
			SetarDado(playerid, Admin, nivel);
1099+
1100-
			//DOF2_SetInt("LLADMIN/Admins.adm", Nome(playerid), nivel);
1100+
1101-
			DarAdmin(playerid, nivel);
1101+
CMD:materiais(playerid, params [])
1102
{
1103-
		if(!response)
1103+
	if (pInfo[playerid][Emprego] != Vendedor_de_Armas)
1104
	{
1105-
		    format(String, sizeof(String), "O Jogador {1B95E0}%s{00C2EC} recusou ser admin do server!", Nome(playerid));
1105+
	    SendClientMessage(playerid, Branco, "Você não é um Vendedor de Armas");
1106-
		    SendClientMessageToAll(AZUL_CLARO, String);
1106+
1107
	}
1108
	
1109
	if (pInfo[playerid][Comprar_Materiais] == 0)
1110-
	if(dialogid == DIALOG_HELPER)
1110+
1111
	    SendClientMessage(playerid, Vermelho, "Você não está no local que se compra Materiais");
1112-
	    if(!response)
1112+
1113-
			return format(String, sizeof(String), "O Jogador {1B95E0}%s{00C2EC} recusou ser Helper do server.", Nome(playerid)), SendClientMessageToAll(AZUL_CLARO, String);
1113+
1114-
	    format(String, sizeof(String), "O Jogador {1B95E0}%s{00C2EC} é o mais novo Helper do server", Nome(playerid));
1114+
1115-
		SendClientMessageToAll(AZUL_CLARO, String);
1115+
1116-
		SendClientMessage(playerid, VERDE_CLARO, "Use /la para ver seus comandos de Helper.");
1116+
	    Item,
1117-
		SalvarDados(playerid);
1117+
	    Str[60]
1118-
 		SetarDado(playerid, Helper, true);
1118+
1119-
 		DarHelper(playerid);
1119+
1120-
		//DOF2_SetBool("LLADMIN/Helpers.hel", Nome(playerid), true);
1120+
    if(sscanf(params, "i", Item))
1121
    {
1122
        return SendClientMessage(playerid,-1,"Use: /Materiais [Quantidade]");
1123-
	if(dialogid == DIALOG_MUSICAS)
1123+
1124
1125-
	    if(!response) return 0;
1125+
	if ( Item < 1 || Item > 10000 )
1126-
	    if(listitem == 0)
1126+
1127
		SendClientMessage(playerid, Branco, "Quantidade Inválida [Min: 1 Max: 10000]");
1128-
	        MusicaInicial = "nada";
1128+
1129
	}
1130
	
1131-
	    if(listitem == 1)
1131+
	pInfo[playerid][Materiais] = Item;
1132
	GivePlayerMoney(playerid, - 2 * Item);
1133-
	        MusicaInicial = Musica[1];
1133+
	format(Str, sizeof(Str), "Você comprou %d Materiais. Use /Venderarma", Item);
1134
	SendClientMessage(playerid, Amarelo, Str);
1135
	pInfo[playerid][Comprar_Materiais] = 0;
1136-
		if(listitem == 2)
1136+
1137
}
1138-
	        MusicaInicial = Musica[2];
1138+
1139
CMD:meuimc(playerid, params [])
1140
{
1141-
		if(listitem == 3)
1141+
1142
        Peso,   Total,
1143-
	        MusicaInicial = Musica[3];
1143+
		Altura,	Str[60]
1144
	;
1145
1146-
		if(listitem == 4)
1146+
    if (sscanf(params, "ii", Peso, Altura))
1147
    {
1148-
	        MusicaInicial = Musica[4];
1148+
    	return SendClientMessage(playerid, -1, "Use: /meuimc [Seu Peso] [Sua Altura]");
1149
	}
1150
	
1151
    if( Peso < 40 )
1152-
	if(dialogid == DIALOG_SENHANOVA)
1152+
1153
        SendClientMessage(playerid, Branco, "Peso Inválido . [Min: 40]");
1154-
	    new StrConta[100];
1154+
1155-
	    format(StrConta,sizeof(StrConta), "LLADMIN/Contas/%s.txt", Nome(playerid));
1155+
1156-
		if(!strlen(inputtext))
1156+
1157
    Total = Peso / Altura * Altura;
1158-
			format(String, sizeof(String), "{D9E01B}Digite uma senha ou clique em Cancelar.\n\n{1BE0AF}Sua senha atual é {1B63E0}'%s'.\n\nDigite sua nova senha abaixo:", DOF2_GetString(StrConta, "Senha"));
1158+
    Total = Peso / Altura;
1159-
			ShowPlayerDialog(playerid, DIALOG_SENHANOVA, DIALOG_STYLE_INPUT, "{1BE084}Nova Senha", String, "Mudar", "Cancelar");
1159+
1160
    format(Str, sizeof(Str), "Seu IMC é {FFFFFF}%d", Total);
1161
    SendClientMessage(playerid, Azul_Claro, Str);
1162-
		DOF2_SetString(StrConta, "Senha", inputtext);
1162+
1163-
		format(String, sizeof(String), "{12FF05}Sua nova senha é {25E01B}'%s'", inputtext);
1163+
1164-
		SendClientMessage(playerid, -1, String);
1164+
1165-
		SalvarDados(playerid);
1165+
CMD:vendedor(playerid)
1166
{
1167-
	if(dialogid == DIALOG_OPCOES) {
1167+
	pInfo[playerid][Emprego] = Vendedor_de_Armas ;
1168-
		switch(listitem) {
1168+
1169-
		    case 0: {
1169+
1170-
		        format(String, sizeof String, "Digite o motivo pelo qual quer kickar\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
1170+
// --------------------------------------------------------------------------- >
1171-
				ShowPlayerDialog(playerid, DIALOG_KICKAR, DIALOG_STYLE_INPUT, "Kickar", String, "Kickar", "Fechar");
1171+
1172
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
1173-
			case 1: {
1173+
1174-
			    format(String, sizeof String, "Digite o motivo pelo qual quer banir\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
1174+
1175-
				ShowPlayerDialog(playerid, DIALOG_BANIR, DIALOG_STYLE_INPUT, "Banir", String, "Banir", "Fechar");
1175+
1176
1177-
			case 2: {
1177+
public OnPlayerExitVehicle(playerid, vehicleid)
1178-
                format(String, sizeof String, "Digite o motivo pelo qual quer advertir\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
1178+
1179-
				ShowPlayerDialog(playerid, DIALOG_ADVERTIR, DIALOG_STYLE_INPUT, "Advertir", String, "Advertir", "Fechar");
1179+
1180
}
1181-
			case 3: {
1181+
1182-
			    new Float:Pos[3];
1182+
public OnPlayerStateChange(playerid, newstate, oldstate)
1183-
				GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
1183+
1184-
				if(IsPlayerInAnyVehicle(IdClicado[playerid]))
1184+
	new Str_Wanted[60];
1185
1186-
					new carroid = GetPlayerVehicleID(IdClicado[playerid]);
1186+
	if (newstate == PLAYER_STATE_DRIVER)
1187-
					SetVehiclePos(carroid, Pos[0]+2, Pos[1]+2, Pos[2]+2);
1187+
1188-
					format(String, sizeof(String), "O Admin %s trouxe você até ele!", Nome(playerid));
1188+
		if (pInfo[playerid][Licenciado] != 1)
1189-
					SendClientMessage(IdClicado[playerid], AZUL_CLARO, String);
1189+
1190-
					format(String, sizeof(String), "Você trouxe o jogador %s [ID: %d] até você", Nome(IdClicado[playerid]), IdClicado[playerid]);
1190+
			RemovePlayerFromVehicle(playerid);
1191-
					SendClientMessage(playerid, AZUL_CLARO, String);
1191+
			SendClientMessage(playerid, Vermelho, "Você cometeu um Crime : {FFFFFF}Dirigir sem Carteira");
1192
			pInfo[playerid][Crimes] ++;
1193
			format(Str_Wanted, sizeof(Str_Wanted), "Nivel Atual de Procura : {FFFFFF}%d", pInfo[playerid][Crimes]);
1194-
				SetPlayerPos(IdClicado[playerid], Pos[0]+2, Pos[1]+2, Pos[2]+2);
1194+
			SendClientMessage(playerid, Amarelo, Str_Wanted);
1195-
				format(String, sizeof(String), "O Admin %s trouxe você até ele!", Nome(playerid));
1195+
			SetPlayerWantedLevel(playerid, pInfo[playerid][Crimes]);
1196-
				SendClientMessage(IdClicado[playerid], AZUL_CLARO, String);
1196+
1197-
				format(String, sizeof(String), "Você trouxe o jogador %s [ID: %d] até você", Nome(IdClicado[playerid]), IdClicado[playerid]);
1197+
1198-
				SendClientMessage(playerid, AZUL_CLARO, String);
1198+
// --------------------------------------------------------------------------- >
1199
	if (newstate == PLAYER_STATE_DRIVER)
1200-
			case 4: {
1200+
1201-
			    new Float:Pos[3];
1201+
		if (pInfo[playerid][Emprego] == Caminhoneiro)
1202-
				GetPlayerPos(IdClicado[playerid], Pos[0], Pos[1], Pos[2]);
1202+
1203-
				if(IsPlayerInAnyVehicle(playerid))
1203+
			new vehicleid = GetPlayerVehicleID(playerid);
1204
			new Str[80];
1205-
					new carroid = GetPlayerVehicleID(playerid);
1205+
1206-
					SetVehiclePos(carroid, Pos[0], Pos[1], Pos[2]);
1206+
			if (vehicleid == 524 || 578 || 455 || 403 || 443 || 514 || 515 || 456)
1207-
					format(String, sizeof(String), "O Admin %s veio até você!", Nome(playerid));
1207+
1208-
					SendClientMessage(IdClicado[playerid], AZUL_CLARO, String);
1208+
				SendClientMessage(playerid, Branco, "Para Conseguir uma carga vá até uma Empresa");
1209-
					format(String, sizeof(String), "Você foi até o Jogador %s [ID: %d]", Nome(IdClicado[playerid]), IdClicado[playerid]);
1209+
				if (!IsTrailerAttachedToVehicle(vehicleid))
1210-
					SendClientMessage(playerid, AZUL_CLARO, String);
1210+
1211
					format(Str, sizeof(Str), "Produtos do Caminhão : {FFFFFF}%d", pInfo[playerid][Produtos]);
1212
					SendClientMessage(playerid, Laranja, Str);
1213-
				SetPlayerPos(playerid, Pos[0]+2, Pos[1]+2, Pos[2]+2);
1213+
1214-
				format(String, sizeof(String), "O Admin %s veio até você!", Nome(playerid));
1214+
1215-
				SendClientMessage(IdClicado[playerid], AZUL_CLARO, String);
1215+
1216-
				format(String, sizeof(String), "Você foi até o Jogador %s [ID: %d]", Nome(IdClicado[playerid]), IdClicado[playerid]);
1216+
1217-
				SendClientMessage(playerid, AZUL_CLARO, String);
1217+
1218
}
1219-
			case 5: {
1219+
1220-
			    format(String, sizeof String, "Digite a mensagem particular que deseja enviar\nao jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
1220+
forward Cont_P(playerid);
1221-
				ShowPlayerDialog(playerid, DIALOG_PART, DIALOG_STYLE_INPUT, "Particular", String, "Enviar", "Fechar");
1221+
public Cont_P(playerid)
1222
{
1223-
			case 6: {
1223+
	GameTextForAll("~w~5", 1000, 6);
1224-
			    new StringM[500];
1224+
	SetTimer("Cont_P1", 1000, false);
1225-
			    new Fala[5];
1225+
1226-
				new ip[25];
1226+
forward Cont_P1(playerid);
1227-
				if(PlayerDados[ID][Calado] == true) Fala = "Sim";
1227+
public Cont_P1(playerid)
1228-
				if(PlayerDados[ID][Calado] == false) Fala = "Nao";
1228+
1229-
				GetPlayerIp(ID, ip, 25);
1229+
	GameTextForAll("~w~4", 1000, 6);
1230-
				format(StringM, sizeof(StringM), "{FFFFFF}Dados de {11D41E}%s{FFFFFF}\n\n{11D41E}Matou:{FFFFFF} %d\n{11D41E}Morreu:{FFFFFF} %d\n{11D41E}Grana:{FFFFFF} %d\n{11D41E}Admin Level:{FFFFFF} %d\n{11D41E}Calado:{FFFFFF} %s\n{11D41E}Tempo Preso:{FFFFFF} %d", Nome(ID), PlayerDados[IdClicado[playerid]][Matou], PlayerDados[IdClicado[playerid]][Morreu], GetPlayerMoney(ID), PlayerDados[IdClicado[playerid]][Admin], Fala, PlayerDados[IdClicado[playerid]][Preso]);
1230+
	SetTimer("Cont_P2", 1000, false);
1231-
				format(StringM, sizeof(StringM), "%s\n{11D41E}Advertencias:{FFFFFF} %d \n{11D41E}IP:{FFFFFF} %s", StringM, PlayerDados[IdClicado[playerid]][Advertencias], ip);
1231+
1232-
				ShowPlayerDialog(playerid, DIALOG_INFO, DIALOG_STYLE_MSGBOX, "Informações do Player", StringM, "Fechar", "");
1232+
forward Cont_P2(playerid);
1233
public Cont_P2(playerid)
1234
{
1235
	GameTextForAll("~w~3", 1000, 6);
1236-
	if(dialogid == DIALOG_KICKAR) {
1236+
	SetTimer("Cont_P3", 1000, false);
1237-
        if(!(response)) {
1237+
1238-
	        format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
1238+
forward Cont_P3(playerid);
1239-
			return ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
1239+
public Cont_P3(playerid)
1240
{	GameTextForAll("~w~2", 1000, 6);
1241-
		if(!(strlen(inputtext))) {
1241+
	SetTimer("Cont_P4", 1000, false);
1242-
		    format(String, sizeof String, "Digite o motivo pelo qual quer kickar\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
1242+
1243-
			return ShowPlayerDialog(playerid, DIALOG_KICKAR, DIALOG_STYLE_INPUT, "Kickar", String, "Kickar", "Fechar");
1243+
forward Cont_P4(playerid);
1244
public Cont_P4(playerid)
1245-
		format(String, sizeof(String), "[LL-ADMIN] O Admin %s Kickou o Jogador %s[ID: %d] pelo motivo: %s\r\n", Nome(playerid), Nome(IdClicado[playerid]), IdClicado[playerid], inputtext);
1245+
{	GameTextForAll("~w~1", 1000, 6);
1246-
		SendClientMessageToAll(VERDE_CLARO, String);
1246+
	SetTimer("Cont_P5", 1000, false);
1247-
		Kickar(ID, Nome(playerid), inputtext);
1247+
1248-
		EscreverLog("LLADMIN/Logs/Kickados.log", String);
1248+
forward Cont_P5(playerid);
1249
public Cont_P5(playerid)
1250-
	if(dialogid == DIALOG_BANIR) {
1250+
1251-
	    if(!(response)) {
1251+
	GameTextForAll("~w~0", 1000, 6);
1252-
	        format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
1252+
 	DisablePlayerCheckpoint(Id_Check);
1253-
			return ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
1253+
1254
1255-
		if(!(strlen(inputtext))) {
1255+
public Kick_Player(playerid)
1256-
		    format(String, sizeof String, "Digite o motivo pelo qual quer banir\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
1256+
1257-
			return ShowPlayerDialog(playerid, DIALOG_BANIR, DIALOG_STYLE_INPUT, "Banir", String, "Banir", "Fechar");
1257+
	Kick(Id_Kick);
1258
	pInfo[Id_Kick][Kikado] ++;
1259-
		format(String, sizeof(String), "[LL-ADMIN] O Admin %s Baniu o Jogador %s[ID: %d] pelo motivo: %s\r\n", Nome(playerid), Nome(IdClicado[playerid]), IdClicado[playerid], inputtext);
1259+
1260-
		SendClientMessageToAll(VERDE_CLARO, String);
1260+
1261-
		EscreverLog("LLADMIN/Logs/Banidos.log", String);
1261+
public OnPlayerEnterCheckpoint(playerid)
1262-
		format(String, sizeof(String), "LLADMIN/Banidos/Contas/%s.txt", Nome(IdClicado[playerid]));
1262+
1263-
		getdate(Ano, Mes, Dia);
1263+
1264-
		gettime(Hora, Minuto, Segundo);
1264+
1265-
		DOF2_CreateFile(String);
1265+
1266-
		DOF2_SetString(String, "Admin", Nome(playerid));
1266+
public OnPlayerLeaveCheckpoint(playerid)
1267-
		DOF2_SetString(String, "Motivo", inputtext);
1267+
1268-
		DOF2_SetInt(String, "Ano", Ano);
1268+
1269-
		DOF2_SetInt(String, "Mes", Mes);
1269+
1270-
		DOF2_SetInt(String, "Dia", Dia);
1270+
1271-
		DOF2_SetInt(String, "Hora", Hora);
1271+
public OnPlayerEnterRaceCheckpoint(playerid)
1272-
		DOF2_SetInt(String, "Minuto", Minuto);
1272+
1273-
		Kick(ID);
1273+
1274
}
1275-
	if(dialogid == DIALOG_ADVERTIR) {
1275+
1276-
        if(!(response)) {
1276+
public OnPlayerLeaveRaceCheckpoint(playerid)
1277-
	        format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
1277+
1278-
			return ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
1278+
1279
}
1280-
		if(!(strlen(inputtext))) {
1280+
1281-
		    format(String, sizeof String, "Digite o motivo pelo qual quer advertir\no jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
1281+
public OnRconCommand(cmd[])
1282-
			return ShowPlayerDialog(playerid, DIALOG_KICKAR, DIALOG_STYLE_INPUT, "Advertir", String, "Advertir", "Fechar");
1282+
1283
	return 1;
1284-
		if(PlayerDados[IdClicado[playerid]][Advertencias] != 3)
1284+
1285
1286-
			format(String, sizeof(String), "[LL ADMIN] O Admin %s Deu uma Advertencia a %s Pelo Motivo: %s\r\n", Nome(playerid), Nome(IdClicado[playerid]), inputtext);
1286+
public OnPlayerRequestSpawn(playerid)
1287-
	    	SendClientMessageToAll(VERMELHO_CLARO, String);
1287+
1288-
			EscreverLog("LLADMIN/Logs/Advertidos.log", String);
1288+
1289-
	    	format(String, sizeof(String), "Você foi Advertido pelo admin %s Pelo motivo: %s. Se for advertido 3 vezes será BANIDO Automaticamente", Nome(playerid), inputtext);
1289+
1290-
		    SendClientMessage(ID, LARANJA, String);
1290+
1291-
		    PlayerDados[ID][Advertencias] += 1;
1291+
public OnObjectMoved(objectid)
1292
{
1293-
		if(PlayerDados[IdClicado[playerid]][Advertencias] == 3)
1293+
1294
}
1295-
		    format(String, sizeof(String), "[LL ADMIN] O Admin %s Deu a terceira Advertencia a %s Pelo Motivo: %s e por isso ele foi Banido!", Nome(playerid), Nome(IdClicado[playerid]), inputtext);
1295+
1296-
	    	SendClientMessageToAll(VERMELHO_CLARO, String);
1296+
public OnPlayerObjectMoved(playerid, objectid)
1297-
    		format(String, sizeof(String), "Você foi Advertido pela terceira vez pelo admin %s Pelo motivo: %s. por isso você foi banido!", Nome(playerid), inputtext);
1297+
1298-
		    SendClientMessage(ID, LARANJA, String);
1298+
1299-
		    format(String, sizeof(String), "LLADMIN/Banidos/Contas/%s.txt", Nome(ID));
1299+
1300-
			getdate(Ano, Mes, Dia);
1300+
1301-
			gettime(Hora, Minuto, Segundo);
1301+
public OnPlayerPickUpPickup(playerid, pickupid)
1302-
			new IP[25];
1302+
1303-
			GetPlayerIp(ID, IP, 25);
1303+
1304-
			DOF2_CreateFile(String);
1304+
1305-
			DOF2_SetString(String, "Admin", Nome(playerid));
1305+
1306-
			DOF2_SetString(String, "Motivo", "3° Advertencia");
1306+
public OnVehicleMod(playerid, vehicleid, componentid)
1307-
			DOF2_SetInt(String, "Ano", Ano);
1307+
1308-
			DOF2_SetInt(String, "Mes", Mes);
1308+
1309-
			DOF2_SetInt(String, "Dia", Dia);
1309+
1310-
			DOF2_SetInt(String, "Hora", Hora);
1310+
1311-
			DOF2_SetInt(String, "Minuto", Minuto);
1311+
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
1312-
			Kick(ID);
1312+
1313
	return 1;
1314
}
1315-
	if(dialogid == DIALOG_PART) {
1315+
1316-
	    if(!(response)) {
1316+
public OnVehicleRespray(playerid, vehicleid, color1, color2)
1317-
	        format(String, 60, "Opções de Admin sobre %s", NomeClicado[playerid]);
1317+
1318-
			return ShowPlayerDialog(playerid, DIALOG_OPCOES, DIALOG_STYLE_LIST, String , "{F5F50C}Kickar\n{F5180C}Banir\n{0CF50C}Advertir\n{FF05F7}Trazer\n{FF05F7}Ir\n{14C9C9}Particular\n{0C8CF5}Status", "Avançar", "Fechar");
1318+
1319
}
1320-
		if(!(strlen(inputtext))) {
1320+
1321-
 			format(String, sizeof String, "Digite a mensagem particular que deseja enviar\nao jogador %s (ID: %d)", Nome(IdClicado[playerid]), IdClicado[playerid]);
1321+
public OnPlayerSelectedMenuRow(playerid, row)
1322-
			return ShowPlayerDialog(playerid, DIALOG_PART, DIALOG_STYLE_INPUT, "Particular", String, "Enviar", "Fechar");
1322+
1323
	return 1;
1324-
	    format(String, sizeof(String), "Particular de {E0D01B}%s{FFFF00}: %s", Nome(playerid), inputtext);
1324+
1325-
		Msg(IdClicado[playerid], AMARELO, String);
1325+
1326-
		format(String, sizeof(String), "Particular enviada com sucesso para %s", Nome(ID));
1326+
public OnPlayerExitedMenu(playerid)
1327-
		Msg(playerid, AMARELO, String);
1327+
1328
	return 1;
1329-
	if(dialogid == DIALOG_IPS1) {
1329+
1330-
	    if(!(response))
1330+
1331-
	        return 0;
1331+
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
1332-
        ShowPlayerDialog(playerid, DIALOG_IPS2, DIALOG_STYLE_MSGBOX, "Ips dos jogadores conectados:", Ips2, "Fechar", "Voltar");
1332+
1333
	return 1;
1334-
	if(dialogid == DIALOG_IPS2) {
1334+
1335-
	    if(!(response))
1335+
1336-
        	ShowPlayerDialog(playerid, DIALOG_IPS1, DIALOG_STYLE_MSGBOX, "Ips dos jogadores conectados:", Ips2, "Proximo", "Fechar");
1336+
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
1337-
		else
1337+
1338-
		    return 0;
1338+
	if (newkeys == 16)
1339
	{
1340-
	return 0;
1340+
		if (IsPlayerInRangeOfPoint(playerid, 1.0, Menu_Prefeitura))
1341
		{
1342
			ShowPlayerDialog(playerid, Dialog_Emprego, DIALOG_STYLE_LIST, "Empregos", "Mecanico \nCaminhoneiro\nDetetive\nAdvogado\nVendedor de Armas", "Escolher", "Sair");
1343-
//SISTEMA DE VIPS
1343+
1344-
#if USAR_SISTEMA_VIP == 1
1344+
1345-
	CMD:v(playerid, params[])
1345+
1346
	if (newkeys == 16)
1347-
	    new t[128];
1347+
1348-
	    if(PlayerDados[playerid][Vip] == false) return SendClientMessage(playerid, BRANCO, "Você não é um jogador VIP!");
1348+
		if (IsPlayerInRangeOfPoint(playerid, 1.0, Materiais_Obter))
1349-
	    if(sscanf(params, "s", t)) return MensagemDupla(playerid, "[LL ADMIN] Use /v [texto]", "Use o comando para enviar uma mensagem a todos os vips online.");
1349+
1350-
	    for(new i = 0; i < MAX_PLAYERS; ++i)
1350+
			if (pInfo[playerid][Emprego] != Vendedor_de_Armas)
1351
			{
1352-
	        if(PlayerDados[i][Vip] == true)
1352+
				SendClientMessage(playerid, Branco, "Você não é um Vendedor de Armas");
1353-
	        {
1353+
1354-
	            format(String, sizeof(String), "VIP %s: %s", Nome(playerid), t);
1354+
1355-
	            SendClientMessage(i, VERDE_CLARO, String);
1355+
			SendClientMessage(playerid, Laranja, "Para comprar Materiais use /Materiais");
1356
			pInfo[playerid][Comprar_Materiais] = 1;
1357
		}
1358
	}
1359
1360-
	CMD:kitvip(playerid, params[])
1360+
	if (newkeys == 16)
1361
	{
1362-
	    if(!PlayerDados[playerid][Vip]) return SendClientMessage(playerid, BRANCO, "Você não é um jogador VIP!");
1362+
		if (IsPlayerInRangeOfPoint(playerid, 1.0, Entrada_Prefeitura))
1363-
	    MensagemFormatadaParaTodos(AMARELO, "O Jogador %s pegou um KitVip", Nome(playerid));
1363+
1364-
	    GivePlayerWeapon(playerid, 4, 1); //FACA
1364+
			SetPlayerInterior(playerid, 3);
1365-
	    GivePlayerWeapon(playerid, 16, 200); //GRANADA
1365+
			SetPlayerPos(playerid, 389.8720, 173.6646, 1008.3828);
1366-
	    GivePlayerWeapon(playerid, 24, 300); //DESERT EAGLE
1366+
			SendClientMessage(playerid, Laranja, "Bem Vindo a Prefeitura. Aqui você pode escolher um emprego");
1367-
	    GivePlayerWeapon(playerid, 26, 300); //SAWNOFF
1367+
1368-
	    GivePlayerWeapon(playerid, 29, 500); //MP5
1368+
1369-
	    GivePlayerWeapon(playerid, 30, 500); //AK-47
1369+
1370-
	    GivePlayerWeapon(playerid, 34, 200); //SNIPER
1370+
	if (newkeys == 16)
1371-
	    GivePlayerWeapon(playerid, 39, 100); //EXPLOSIVO
1371+
1372-
	    PlayerDados[playerid][PegouKit] = true;
1372+
		if (IsPlayerInRangeOfPoint(playerid, 1.0, 389.8720, 173.6646, 1008.3828))
1373-
	    TimerKit = SetTimerEx("LiberarKit", 30*1000, false, "i", playerid);
1373+
1374
			SetPlayerInterior(playerid, 0);
1375
			SetPlayerPos(playerid, Entrada_Prefeitura);
1376-
	CMD:vips(playerid, params[])
1376+
1377
	}
1378-
	    new IsVip;
1378+
1379-
	    SendClientMessage(playerid, VERDE_CLARO, "Vips Online:");
1379+
	if (newkeys == 16)
1380-
	    for(new i = 0; i < MAX_PLAYERS; ++i)
1380+
1381
		if (IsPlayerInRangeOfPoint(playerid, 1.0, Entrada_Loja))
1382-
	        if(PlayerDados[i][Vip])
1382+
1383-
	        {
1383+
			SetPlayerInterior(playerid, 17);
1384-
				format(String, sizeof(String), "%s", Nome(i));
1384+
			SetPlayerPos(playerid, -25.884498, -185.868988, 1003.546875);
1385-
				SendClientMessage(playerid, BRANCO, String);
1385+
			SendClientMessage(playerid, Laranja, "Bem Vindo a Loja. Aqui você pode fazer Compras. {FFFFFF}/Comprar");
1386-
				IsVip++;
1386+
			pInfo[playerid][Fazer_Compras] = 1;
1387
		}
1388
	}
1389-
		if(IsVip == 0)
1389+
1390
	if (newkeys == 16)
1391-
		    SendClientMessage(playerid, CINZA, "Nenhum VIP online.");
1391+
1392
		if (IsPlayerInRangeOfPoint(playerid, 1.0, -26.0003, -188.2597, 1003.5469))
1393-
		IsVip = 0;
1393+
1394
			SetPlayerInterior(playerid, 0);
1395
			SetPlayerPos(playerid, Entrada_Loja);
1396-
	CMD:cc(playerid, params[])
1396+
			pInfo[playerid][Fazer_Compras] = 0;
1397
		}
1398
	}
1399-
	    	Carro,
1399+
1400-
		    Cor1,
1400+
	if (newkeys == 16)
1401-
		    Cor2;
1401+
1402-
		if(!PlayerDados[playerid][Vip]) return SendClientMessage(playerid, BRANCO, "Você precisa ser Vip para usar este comando!");
1402+
		if (IsPlayerInRangeOfPoint(playerid, 1.0, Entrada_Ammu))
1403-
		if(sscanf(params, "iii", Carro, Cor1, Cor2)) return SendClientMessage(playerid, CINZA, "[LL ADMIN] Use /cc [ID] [cor1] [cor2]"), SendClientMessage(playerid, CINZA, "Use o comando para criar um veiculo VIP.");
1403+
1404-
		new Float:X,
1404+
			SetPlayerInterior(playerid, 7);
1405-
		    Float:Y,
1405+
			SetPlayerPos(playerid, 314.820983, -141.431991, 999.601562);
1406-
		    Float:X1,
1406+
			SendClientMessage(playerid, Laranja, "Bem Vindo a Ammu Nation. Aqui você poderá comprar Armas");
1407-
	    	Float:Y1,
1407+
1408-
		    Float:Z,
1408+
1409-
		    Float:A;
1409+
1410-
		PosicaoFrentePlayer(playerid, X, Y, 3);
1410+
	if (newkeys == 16)
1411-
		GetPlayerPos(playerid, X1, Y1, Z);
1411+
1412-
		GetPlayerFacingAngle(playerid, A);
1412+
		if (IsPlayerInRangeOfPoint(playerid, 1.0, Menu_Armas))
1413-
		DestroyVehicle(CarroDono[playerid]);
1413+
1414-
		CarroDono[playerid] = CreateVehicle(Carro, X, Y, Z, A+90, Cor1, Cor2, 15);
1414+
			ShowPlayerDialog(playerid, Dialog_Armas, DIALOG_STYLE_LIST, "Loja de Armas", "Desert Eagle\nShotgun\nMP5\nM4\nAK 47\nColete", "Comprar", "Sair");
1415-
		format(String, sizeof(String), "Carro VIP de {FFFF00}%s", Nome(playerid));
1415+
1416-
		DonoCarro[playerid] = Create3DTextLabel(String, VERDE_CLARO, X, Y, Z+1, 30, 0, 1);
1416+
1417-
		Attach3DTextLabelToVehicle(DonoCarro[playerid], CarroDono[playerid], 0, 0, 0);
1417+
1418-
		PutPlayerInVehicle(playerid, CarroDono[playerid], 0);
1418+
	if (newkeys == 16)
1419
	{
1420
		if (IsPlayerInRangeOfPoint(playerid, 1.0, 315.7297, -143.6574, 999.6016))
1421-
#endif
1421+
1422
			SetPlayerInterior(playerid, 0);
1423-
CMD:sim(playerid, params[])
1423+
			SetPlayerPos(playerid, Entrada_Ammu);
1424
		}
1425-
	if(Enquete[Criada] == false) return SendClientMessage(playerid, CINZA, "Nenhuma enquete aberta!");
1425+
		if (newkeys == 16)
1426-
	Enquete[VotoSim]++;
1426+
1427-
	SendClientMessage(playerid, AMARELO, "Voto computado com sucesso.");
1427+
			if (IsPlayerInRangeOfPoint(playerid, 1.0, Entrada_Loja_Roupas))
1428
			{
1429
				SetPlayerInterior(playerid, 5);
1430
				SetPlayerPos(playerid, 227.5590, -8.1010, 1002.2109);
1431-
CMD:nao(playerid, params[])
1431+
				SendClientMessage(playerid, Laranja, "Bem Vindo a Loja de Roupas. Aqui você pode comprar Roupas. {FFFFFF}/meuskin");
1432
				pInfo[playerid][Loja_Roupas] = 1;
1433-
	if(Enquete[Criada] == false) return SendClientMessage(playerid, CINZA, "Nenhuma enquete aberta!");
1433+
1434-
	Enquete[VotoNao]++;
1434+
1435-
	SendClientMessage(playerid, AMARELO, "Voto computado com sucesso.");
1435+
1436
		if (newkeys == 16)
1437
		{
1438
			if (IsPlayerInRangeOfPoint(playerid, 1.0, 227.5590, -8.1010, 1002.21097))
1439-
CMD:relatorio(playerid, params[])
1439+
1440
				SetPlayerInterior(playerid, 0);
1441-
	new Texto[128];
1441+
				SetPlayerPos(playerid, Entrada_Loja_Roupas);
1442-
	if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, BRANCO, "[LL ADMIN] Use /relatorio [texto] para mandar uma mensagem para os admins online");
1442+
				pInfo[playerid][Loja_Roupas] = 0;
1443-
	new strel[256];
1443+
1444-
	format(strel, sizeof(strel), "Relatorio de %s: %s\r\n", Nome(playerid), Texto);
1444+
1445-
	EscreverLog("LLADMIN/Logs/Relatorios.log", strel);
1445+
1446-
	if(PlayerDados[playerid][Vip] == true)
1446+
1447
}
1448-
	    for(new i = 0; i < MAX_PLAYERS; i++)
1448+
1449
public OnRconLoginAttempt(ip[], password[], success)
1450-
	    	if((PlayerDados[i][Admin] > 0) || (PlayerDados[i][Helper]))
1450+
1451
	return 1;
1452-
		        format(String, sizeof(String), "Relatorio VIP de %s [ID: %d]: %s", Nome(playerid), playerid, Texto);
1452+
1453-
	    	    SendClientMessage(i, VERDE, String);
1453+
1454
public OnPlayerUpdate(playerid)
1455
{
1456-
		SendClientMessage(playerid, VERDE, "Seu relatorio VIP foi enviado com sucesso!");
1456+
1457
}
1458
1459-
	for(new i = 0; i < MAX_PLAYERS; i++)
1459+
public OnPlayerStreamIn(playerid, forplayerid)
1460
{
1461-
	    if((PlayerDados[i][Admin] > 0) || (PlayerDados[i][Helper]))
1461+
1462
}
1463-
	        format(String, sizeof(String), "Relatorio de %s [ID: %d]: %s", Nome(playerid), playerid, Texto);
1463+
1464-
	        SendClientMessage(i, AMARELO, String);
1464+
public OnPlayerStreamOut(playerid, forplayerid)
1465
{
1466
	return 1;
1467-
	SendClientMessage(playerid, AMARELO, "Seu relatorio foi enviado com sucesso!");
1467+
1468
1469
public OnVehicleStreamIn(vehicleid, forplayerid)
1470
{
1471-
/*CMD:hq(playerid)  //debug
1471+
1472
}
1473-
	SetPlayerPos(playerid, 2204.39990234,1846.00000000,12.60000038);
1473+
1474
public OnVehicleStreamOut(vehicleid, forplayerid)
1475
{
1476
	return 1;
1477
}
1478-
CMD:ajudavip(playerid, params[])
1478+
1479
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
1480-
	if(GetarDado(playerid, Vip) == false) return Msg(playerid, BRANCO, "Você não é um jgoador VIP.");
1480+
1481-
	ShowPlayerDialog(playerid, DIALOG_AJUDAV, DIALOG_STYLE_MSGBOX, "------------- AJUDA VIP -------------", "/kitvip - Pega um kit de armas VIP.\n/v - Chat vip.\n/cc - Cria um carro vip.\n/vips - mostra os vips online", "Fechar", "");
1481+
1482
	if (dialogid == Dialog_Emprego)
1483
	{
1484
		if (response)
1485-
CMD:admins(playerid, params[])
1485+
1486
			if (listitem == 0)
1487-
	new IsAdmin;
1487+
1488-
	SendClientMessage(playerid, ROSA, "Admin Online:");
1488+
				if (pInfo[playerid][Emprego] == Desempregado)
1489-
	new Online[10];
1489+
1490-
	for(new i = 0; i < MAX_PLAYERS; i++)
1490+
					SendClientMessage(playerid, Vermelho, "Você Já tem um Emprego. Use {FFFFFF}/pedircontas");
1491
					return 1;
1492-
	    if(IsPlayerConnected(i)) {
1492+
1493-
		    if(PlayerDados[i][Admin] > 0)
1493+
1494
				pInfo[playerid][Emprego] = Mecanico;
1495-
	    	    if(PlayerDados[i][Escondido] == false) {
1495+
				SendClientMessage(playerid, Amarelo, "Parabéns ! Agora você é um Mecânico.");
1496-
    	        	if(PlayerDados[i][Admin] == 1) AdminNivel = "Moderador";
1496+
				pInfo[playerid][Contrato] = 5;
1497-
					if(PlayerDados[i][Admin] == 2) AdminNivel = "Admin Iniciante";
1497+
1498-
					if(PlayerDados[i][Admin] == 3) AdminNivel = "Admin Geral";
1498+
1499-
					if(PlayerDados[i][Admin] == 4) AdminNivel = "Sub Dono";
1499+
1500-
					if(PlayerDados[i][Admin] == 5) AdminNivel = "Poderoso Chefão";
1500+
			else if (listitem == 1)
1501-
					if(PlayerDados[i][Trabalhando] == true) AdminTrabalhando = "Trabalhando";
1501+
1502-
					if(PlayerDados[i][Trabalhando] == false) AdminTrabalhando = "Jogando";
1502+
				if (pInfo[playerid][Emprego] == Desempregado)
1503-
					if(PlayerDados[i][Afk] == true) Online = "AFK";
1503+
1504-
					if(PlayerDados[i][Afk] == false) Online = "Online";
1504+
					SendClientMessage(playerid, Vermelho, "Você Já tem um Emprego. Use {FFFFFF}/pedircontas");
1505-
		        	format(String, sizeof(String), "%s | %s | %s | %s", Nome(i), AdminNivel, AdminTrabalhando, Online);
1505+
1506-
			        SendClientMessage(playerid, LARANJA, String);
1506+
1507-
			        IsAdmin ++;
1507+
1508
				pInfo[playerid][Emprego] = Caminhoneiro;
1509
				SendClientMessage(playerid, Amarelo, "Parabéns ! Agora você é um Caminhoneiro.");
1510
				pInfo[playerid][Contrato] = 5;
1511
				return 1;
1512-
	if(IsAdmin == 0)
1512+
1513
1514-
	    SendClientMessage(playerid, CINZA, "Nenhum Admin Online!");
1514+
			else if (listitem == 2)
1515
			{
1516-
	IsAdmin = 0;
1516+
				if (pInfo[playerid][Emprego] == Desempregado)
1517-
	SendClientMessage(playerid, CINZA, "Use /helpers");
1517+
1518
					SendClientMessage(playerid, Vermelho, "Você Já tem um Emprego. Use {FFFFFF}/pedircontas");
1519
					return 1;
1520
				}
1521-
//SÓ VAI FUNCIONAR O SEGUINTE COMANDO SE VC USAR O SISTEMA DE REGISTRO DO FS
1521+
1522-
#if USAR_SISTEMA_REGISTRO == 1
1522+
				pInfo[playerid][Emprego] = Detetive;
1523-
	CMD:mudarsenha(playerid, params[])
1523+
				SendClientMessage(playerid, Amarelo, "Parabéns ! Agora você é um Detetive.");
1524
				pInfo[playerid][Contrato] = 5;
1525-
        new StrConta[100];
1525+
1526-
		format(StrConta,sizeof(StrConta), "LLADMIN/Contas/%s.txt", Nome(playerid));
1526+
1527-
		format(String, sizeof(String), "{1BE0AF}Sua senha atual é {1B63E0}'%s'.\n\nDigite sua nova senha abaixo:", DOF2_GetString(StrConta, "Senha"));
1527+
1528-
		ShowPlayerDialog(playerid, DIALOG_SENHANOVA, DIALOG_STYLE_INPUT, "{1BE084}Nova Senha", String, "Mudar", "Cancelar");
1528+
			else if (listitem == 3)
1529
			{
1530
				if (pInfo[playerid][Emprego] == Desempregado)
1531-
#endif
1531+
1532
					SendClientMessage(playerid, Vermelho, "Você Já tem um Emprego. Use {FFFFFF}/pedircontas");
1533
					return 1;
1534
				}
1535
1536-
CMD:helpers(playerid, params[])
1536+
				pInfo[playerid][Emprego] = Advogado;
1537
				SendClientMessage(playerid, Amarelo, "Parabéns ! Agora você é um Advogado.");
1538-
	new IsHelper;
1538+
				pInfo[playerid][Contrato] = 5;
1539-
	new Online[10];
1539+
1540-
	SendClientMessage(playerid, VERDE, "Helpers Online:");
1540+
1541-
	for(new i = 0; i < MAX_PLAYERS; i++)
1541+
			
1542
			else if (listitem == 4)
1543-
	    if(PlayerDados[i][Helper])
1543+
1544
				if (pInfo[playerid][Emprego] == Desempregado)
1545-
			if(PlayerDados[i][Trabalhando] == true) AdminTrabalhando = "Trabalhando";
1545+
1546-
			if(PlayerDados[i][Trabalhando] == false) AdminTrabalhando = "Jogando";
1546+
					SendClientMessage(playerid, Vermelho, "Você Já tem um Emprego. Use {FFFFFF}/pedircontas");
1547-
			if(PlayerDados[i][Afk] == true) Online = "AFK";
1547+
1548-
			if(PlayerDados[i][Afk] == false) Online = "Online";
1548+
1549-
	        format(String, sizeof(String), "%s | %s | %s", Nome(i), AdminTrabalhando, Online);
1549+
1550-
	        SendClientMessage(playerid, VERDE_CLARO, String);
1550+
				pInfo[playerid][Emprego] = Vendedor_de_Armas;
1551-
	        IsHelper ++;
1551+
				SendClientMessage(playerid, Amarelo, "Parabéns ! Agora você é um Vendedor de Armas.");
1552
				pInfo[playerid][Contrato] = 5;
1553
				return 1;
1554-
	if(IsHelper == 0)
1554+
1555
		}
1556-
	    SendClientMessage(playerid, CINZA, "Nenhum Helper Online!");
1556+
1557
// --------------------------------------------------------------------------- > 
1558-
	IsHelper = 0;
1558+
	if (dialogid == Dialog_Armas)
1559
	{
1560
		if (response)
1561
		{
1562-
CMD:duvida(playerid, params[]) {
1562+
			if (listitem == 0)
1563-
	new texto[100];
1563+
1564-
	if(sscanf(params, "s", texto))
1564+
				if (GetPlayerMoney(playerid) < 1500)
1565-
	    return MensagemDupla(playerid, "Use /duvida [pergunta]", "Use o comando para enviar uma duvida aos Helpers online.");
1565+
1566-
	Pergunta[playerid] = texto;
1566+
					SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 1500");
1567-
	Loop(i, MAX_PLAYERS) {
1567+
1568-
	    if(IsPlayerConnected(i)) {
1568+
1569-
	        if(GetarDado(i, Helper) == true) {
1569+
1570-
         		MsgFormat(playerid, AMARELO, "Duvida de %s: %s. Use /responder", Nome(playerid), texto);
1570+
				GivePlayerWeapon(playerid, 24, 100);
1571
				SendClientMessage(playerid, Laranja, "Você comprou uma Desert Eagle {FFFFFF}R$: 1500");
1572
				GivePlayerMoney(playerid, -1500);
1573
				return 1;
1574
			}
1575
1576
			else if (listitem == 1)
1577-
CMD:responder(playerid, params[]) {
1577+
1578-
	if(GetarDado(playerid, Helper) == false)
1578+
				if (GetPlayerMoney(playerid) < 2000)
1579-
	    return Msg(playerid, CINZA, "Você precisa ser helper para usar esse comando.");
1579+
1580-
	new texto[128];
1580+
					SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 2000");
1581-
	if(sscanf(params, "us", ID, texto))
1581+
1582-
	    return MensagemDupla(playerid, "[LL ADMIN] Use /responder [playerid] [resposta]", "Use o comando para responder uma /duvida.");
1582+
1583-
	if(strcmp(Pergunta[ID], "Nenhuma", true) == 0)
1583+
				
1584-
		return Msg(playerid, CINZA, "O jogador não fez nenhuma pergunta.");
1584+
				if (pInfo[playerid][Licenca_Armas] == 1)
1585-
	format(String, sizeof String, "Resposta do Helper %s da sua pergunta: %s", Nome(playerid), Pergunta[ID]);
1585+
1586-
	Msg(ID, AMARELO, String);
1586+
					SendClientMessage(playerid, Vermelho, "Você não tem uma Licença de Porte Legal");
1587-
	format(String, sizeof String, "%s", texto);
1587+
1588-
	Msg(ID, AMARELO, String);
1588+
1589-
	MsgFormat(playerid, VERDE_CLARO, "Resposta enviada com sucesso para %s [ID: %d]", Nome(ID), ID);
1589+
1590-
	Pergunta[ID] = "Nenhuma";
1590+
				GivePlayerWeapon(playerid, 25, 100);
1591
				SendClientMessage(playerid, Laranja, "Você comprou uma Shotgun por {FFFFFF}R$: 2000");
1592
				GivePlayerMoney(playerid, -2000);
1593
				return 1;
1594-
CMD:id(playerid, params[]) {
1594+
1595-
	new name[24];
1595+
1596-
	if(sscanf(params, "s", name))
1596+
			else if (listitem == 2)
1597-
	    return MensagemDupla(playerid, "[LL ADMIN] Use /id [Nome]", "Use o comando para saber o ID de um player através do seu nome.");
1597+
1598-
	new total = 0;
1598+
				if (GetPlayerMoney(playerid) < 1500)
1599-
	Loop(i, MAX_PLAYERS) {
1599+
1600-
	    if(IsPlayerConnected(i)) {
1600+
					SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 1500");
1601-
	    	if(strfind(Nome(i), name, true) != -1) {
1601+
1602-
	        	format(String, 50, "ID: %d - NOME: %s", i, Nome(i));
1602+
1603-
				Msg(playerid, VERDE_CLARO, String);
1603+
				
1604-
				total ++;
1604+
				if (pInfo[playerid][Licenca_Armas] == 1)
1605
				{
1606
					SendClientMessage(playerid, Vermelho, "Você não tem uma Licença de Porte Legal");
1607
					return 1;
1608-
	if(total == 0)
1608+
1609-
	    Msg(playerid, CINZA, "Nenhum jogador encontrado com esse nome.");
1609+
1610
				GivePlayerWeapon(playerid, 29, 100);
1611
				SendClientMessage(playerid, Laranja, "Você comprou uma MP5 por {FFFFFF}R$: 1500");
1612
				GivePlayerMoney(playerid, -1500);
1613-
CMD:temposair(playerid, params[])
1613+
1614
			}
1615-
	if(PlayerDados[playerid][Preso] < 1) return SendClientMessage(playerid, CINZA, "[LL ADMIN] Você não está preso para usar este comando");
1615+
1616-
	format(String, sizeof(String), "Faltam %d Segundos para você ficar livre!", PlayerDados[playerid][Preso]);
1616+
			else if (listitem == 3)
1617-
	SendClientMessage(playerid, VERDE_CLARO, String);
1617+
1618
				if (GetPlayerMoney(playerid) < 2500)
1619
				{
1620
					SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 2500");
1621-
CMD:la(playerid, params[])
1621+
1622
				}
1623-
	new Ajuda[1500];
1623+
1624-
	if((PlayerDados[playerid][Admin] == 0) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
1624+
				if (pInfo[playerid][Licenca_Armas] == 1)
1625-
	if(PlayerDados[playerid][Helper])//HELPER
1625+
1626
					SendClientMessage(playerid, Vermelho, "Você não tem uma Licença de Porte Legal");
1627-
	    strcat(Ajuda,"{FFFFFF}Helper\n{FFEA03}/Jogar - /Trabalhar - /Servico - /Ir - /Trazer - /Particular - /Players\n/Afk - /SairAfk - /PortaoAdm - /Responder\n\n");
1627+
1628
				}
1629-
	if(PlayerDados[playerid][Admin] > 0)//NIVEL 1
1629+
1630
				GivePlayerWeapon(playerid, 31, 100);
1631-
	    strcat(Ajuda, "{FFFFFF}Nivel 1\n{4CFA1B}/Jogar - /Trabalhar - /Servico - /InfoPlayer - /Verip - /Avisar - /Destrancarcarros\n/Kickar - /Tapa - /Assistir - /pAssistir - /Texto - /a - /Particular\n/Players - /Afk - /SairAfk - /Contagem - /PortaoAdm - /LimparChat\n\n");
1631+
				SendClientMessage(playerid, Laranja, "Você comprou uma M4A1 por {FFFFFF}R$: 2500");
1632-
	}//20
1632+
				GivePlayerMoney(playerid, -2500);
1633-
	if(PlayerDados[playerid][Admin] > 1)//NIVEL 2
1633+
1634
			}
1635-
	    strcat(Ajuda, "{FFFFFF}Nivel 2\n{0C9E05}/SetarInterior - /Banir - /Desbanir - /Advertir - /Ir - /Trazer\n/Congelar - /Descongelar - /Dararma - /Desarmar - /CriarCarro\n/Respawn - /DestruirCarro - /Calar - /Liberar - /SetarVida - /SetarColete\n/ForcarCarro - /ForcarSkin - /Jetpack - /TrazerTodos - /MoverPlayer - /PosPlayer\n/Versao - /Blindar - /Desblindar\n\n");
1635+
1636-
	}//22
1636+
			else if (listitem == 4)
1637-
	if(PlayerDados[playerid][Admin] > 2)//NIVEL 3
1637+
1638
				if (GetPlayerMoney(playerid) < 2500)
1639-
	    strcat(Ajuda, "{FFFFFF}Nivel 3\n{11CFCF}/Prender - /Soltar - /SetarSkin - /SetarNome - /SetarCor\n/Clima - /GodMode - /Ejetar - /Falar - /Crash - /SetarPontos\n/SetarPos - /VerPos - /Barril - /dBarris - /BanirIP - /DesbanirIP\n/Tempo - /AtivarMsgs - /DesativarMsgs\n/Enquete - /Disfarce - /SairDisfarce - /KickSecreto - /BanSecreto - /SetarVW\n\n");
1639+
1640-
	}//23
1640+
					SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 2500");
1641-
	if(PlayerDados[playerid][Admin] > 3)//NIVEL 4
1641+
1642
				}
1643-
	    strcat(Ajuda, "{FFFFFF}Nivel 4\n{1170CF}/KickarTodos - /DesarmarTodos - /ChatFalso - /GMX - /Invisivel\n/Visivel - /InteriorTodos - /IPs - /CongelarTodos\n/DescongelarTodos - /MatarTodos - /DarVip - /TirarVip - /MusicaInicial\n/FoderPlayer - /DEntradas - /Resetar - /CriarIcone - /DestruirIcone\n\n");
1643+
				
1644-
	}//17
1644+
				if (pInfo[playerid][Licenca_Armas] == 1)
1645-
	if(PlayerDados[playerid][Admin] > 4)//NIVEL 5
1645+
1646
					SendClientMessage(playerid, Vermelho, "Você não tem uma Licença de Porte Legal");
1647-
	    strcat(Ajuda, "{FFFFFF}Nivel 5\n{FA0505}/NomeServer - /NomeGM - /NomeMapa - /CriarTeleporte - /DarAdmin\n/SetarGravidade - /DarHelper - /TirarHelper - /SetarAdmin - /TrancarServer\n/DestrancarServer\n\n");
1647+
1648-
	}//11 = 93
1648+
1649-
	ShowPlayerDialog(playerid, DIALOG_AL, DIALOG_STYLE_MSGBOX, "LL ADMIN - Ajuda", Ajuda, "Fechar", "");
1649+
				
1650
				GivePlayerWeapon(playerid, 30, 100);
1651
				SendClientMessage(playerid, Laranja, "Você comprou uma AK-47 por {FFFFFF}R$: 2500");
1652
				GivePlayerMoney(playerid, -2500);
1653-
//---------------------------------COMANDOS DE ADMIN----------------------------------------
1653+
1654
			}
1655-
//------------------PARA NIVEL 1 OU HELPER------------------------------
1655+
1656
			else if (listitem == 5)
1657-
CMD:limparchat(playerid, params[])
1657+
1658
				if (GetPlayerMoney(playerid) < 5000)
1659-
	if(!NivelRequerido(playerid, 1)) return 1;
1659+
1660-
	for(new t = 0; t < 100; ++t)
1660+
					SendClientMessage(playerid, Vermelho, "Você não tem {FFFFFF}R$: 5000");
1661
					return 1;
1662-
	    SendClientMessageToAll(-1, " ");
1662+
1663
				
1664-
	MensagemFormatadaParaTodos(AZUL_CLARO, "O Admin {1B95E0}%s{00C2EC} limpou o chat.", Nome(playerid));
1664+
				SetPlayerArmour(playerid, 100);
1665
				SendClientMessage(playerid, Laranja, "Você comprou um Colete por {FFFFFF}R$: 5000");
1666
				GivePlayerMoney(playerid, -5000);
1667
				return 1;
1668-
CMD:portaoadm(playerid, params[])
1668+
1669
		}
1670-
    if((PlayerDados[playerid][Admin] < 1) && (PlayerDados[playerid][Helper] == false)) return SendClientMessage(playerid, BRANCO, "Você precisa ser admin ou helper para usar este comando!");
1670+
1671-
    MoveObject(PortaoHQ, 2205.10009766,1835.50000000,12.60000038, 4, 0.00000000, 0.00000000, 91.99951172);
1671+
// --------------------------------------------------------------------------- >
1672-
    GameTextForPlayer(playerid, "Portao ~g~Aberto", 1000, 6);
1672+
1673-
    SetTimer("FecharPortao", 5000, false);
1673+
1674
1675
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
1676
{
1677-
CMD:contagem(playerid, params[])
1677+
1678
}