[Ajuda] Comando
#5

Code:
new bool: GPS[MAX_PLAYERS];

CMD:gps(playerid, params[])
{
	if(GPS[playerid] == false) return SendClientMessage(playerid, -1,"Vocк nгo tem GPS");
	ShowPlayerDialog(playerid, DIALOG_GPS, DIALOG_STYLE_LIST, "Global Positioning System", "{00FF00}»{FFFFFF} Palбcio Presidencial\n{00FF00}»{FFFFFF} Prefeitura SF\n{00FF00}»{FFFFFF} Prefeitura LV\n{00FF00}»{FFFFFF} Agencia de Empregos\n{00FF00}»{FFFFFF} Loja de Utilitarios\n{00FF00}»{FFFFFF} Detran\n{00FF00}»{FFFFFF} Agencia Bancбria\n{00FF00}»{FFFFFF} Imobiliaria\n{00FF00}»{FFFFFF} Ottos Car's\n{00FF00}»{FFFFFF} Wang Car's\n{00FF00}»{FFFFFF} Area de Caзa\n{00FF00}»{FFFFFF} Departamento Policial\n{00FF00}»{FFFFFF} Shopping", "GPS", "Sair");
	return 1;
}
E no comando ou dialog onde vocк compra o gps coloque:
Code:
GPS[playerid] = true;
Reply


Messages In This Thread
Comando - by BuDweiSeR - 18.12.2017, 14:09
Re: Comando - by IlanZ - 18.12.2017, 14:11
Re: Comando - by BuDweiSeR - 18.12.2017, 14:30
Re: Comando - by DelK - 18.12.2017, 15:48
Re: Comando - by ViDaLoKa1 - 18.12.2017, 15:58
Re: Comando - by Pool - 18.12.2017, 16:56
Re: Comando - by Gguiz - 18.12.2017, 17:00
Re: Comando - by ViDaLoKa1 - 18.12.2017, 18:11
Re: Comando - by IlanZ - 18.12.2017, 18:18
Re: Comando - by Gguiz - 18.12.2017, 18:21
Re: Comando - by BuDweiSeR - 18.12.2017, 23:42

Forum Jump:


Users browsing this thread: 1 Guest(s)