Quote:
Originally Posted by Michael@Belgium
Hmm: try this:
pawn Код:
if(dialogid == 27) //buy clothes { if(response) { if(listitem == 1) DisplayDialogForPlayer(playerid, 77); if(listitem == 2) DisplayDialogForPlayer(playerid, 29); if(listitem == 3) { new biz = GetPlayerVirtualWorld(playerid); PlayerInfo[playerid][pHelmet] = 18645; GameTextForPlayer(playerid, "~r~-$200", 5000, 1); GiveMoney(playerid,-200); BizInfo[biz][bTill] += 200; BizInfo[biz][bProducts] -= 1; PlayerPlaySound(playerid, 1052,0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD2, "* Helmet purchased, use /helmet to put it on."); } } }
|
Nah, that won't work.. it'll display the next one from what I selected.
@Blood:
Yeah I'm pretty sure I'm not