09.06.2012, 16:17
Linha:
Funзгo:
Estou fazendo um sistema de loja de armas, e gostaria de chamar o dialog no IsPlayerInRangeOfPoint, e n ao passar na pickup.
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,0.8,290.4279,-106.9147,1001.5156)); {
pawn Код:
if((newkeys==KEY_SECONDARY_ATTACK)) //Tecla F/Enter
if(IsPlayerInRangeOfPoint(playerid,0.8,290.4279,-106.9147,1001.5156)); {
ShowPlayerDialog(playerid, LojaDeArmas1,DIALOG_STYLE_LIST, "Armas", "Deagle (R$150,00)\nMP5 (R$210,00)\nM4A1 (R$1.000)\nAK47 (R$970,00)", "Comprar", "Sair");
}