20.11.2017, 18:48
PHP код:
CMD:comprararma(playerid, params[])
{
#pragma unused params
if(IsPlayerInRangeOfPoint(playerid, 2.0, 312.0516,-166.1417,999.6010))
{
if(PlayerInfo[playerid][pGunLic] == 0) return SendClientMessage(playerid, 0xFF8000FF, "O atendente da Ammunation se recusa a vender armas sem o porte.");
ShowPlayerDialog(playerid, DIALOG_MENU_DE_ARMAS, DIALOG_STYLE_LIST, "Menu de armas", "Armas branca\nPistolas\nEscopetas\nSub-Metralhadoras\nRifles de alto-calibre\nSnipers\nBombas\nUtilitбrios", "Abrir", "Sair");
}
return 1;
}