30.04.2010, 14:27
no check for a wrong string like "12345abc" included (will be 0 then)
Код:
if(dialogid == 2) { if(response) { new Amount=strval(inputtext); format(message, sizeof(message), "%d", Amount); GivePlayerMoney(playerid, Amount); } }