Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(dialogid == 59)
- {
- if(response)
- {
- new liczby = strval(inputtext);
- if(liczby < 1 || liczby > 150000)
- {
- if(bank[playerid] >= strval(inputtext))
- {
- GivePlayerMoney(playerid,strval(inputtext));
- bank[playerid]-=strval(inputtext);
- }
- else
- {
- SendClientMessage(playerid, 0xFFFFFFFF, "Nie masz tyle na koncie bankowym");
- }
- }else
- ShowPlayerDialog(playerid, 51, DIALOG_STYLE_MSGBOX, "Bank", "Nie możesz wypłacić tylu pieniędzy!", "Wróc", "Wyjdź");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement