28.11.2013, 17:20
Quote:
ShowPlayerDialog(playerid, GUNSHOP, DIALOG_STYLE_LIST,"Gun Shop", "Brass Knuckles $25\nBaseball Bat $25\nSilenced 9mm $500\nShoutgun $600\nRifle $1000","Buy","Cancel"); |

And i used some lines of this filterscript to finish my gunshop on my server i did like:
Quote:
CMD:gunshop(playerid, params[]) { if(BizInfo[GetPVarInt(playerid,"InBiz")][bType] != 4) { SendClientMessageEx(playerid, COLOR_GRAD2, " You are not at the GunShop!"); return 1; } ShowPlayerDialog(playerid, GUNSHOP, DIALOG_STYLE_LIST,"Gun Shop", "Brass Knuckles $25\nBaseball Bat $25\nSilenced 9mm $500\nShoutgun $600\nRifle $1000","Buy","Cancel"); return 1; } |