Quote:
Originally Posted by Dreft
pawn Код:
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); } } else if(!response) { TogglePlayerControllable(playerid, 1); }
:>
|
thx, sorry im a beginner in dialogs ^^,