10.04.2010, 14:52
Hi, guys, i have a problem with my dialog whore shop ^^, i post a little script not all ^^
everything works good, but the !response work not if i do exit in the dialog, it dont unfreeze me, :/
Код:
if(response) { if(listitem == 0) { if(GetPlayerMoney(playerid) < 17) { SendClientMessage(playerid,COLOR_RED, "The Dildo cost $17. You haven't enough money!"); TogglePlayerControllable(playerid, 1); return 1; } GivePlayerMoney(playerid, -17); GivePlayerWeapon(playerid, 10, 1); TogglePlayerControllable(playerid, 1); } if(!response) { TogglePlayerControllable(playerid, 1); }