SA-MP Forums Archive
[FilterScript] [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] (/showthread.php?tid=355707)



[0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - ReneG - 01.07.2012

Dynamic ATM System

[ame="http://www.youtube.com/watch?v=baqF9aFwrI4"]http://www.youtube.com/watch?v=baqF9aFwrI4[/ame]

Features
Commands
/adeposit - Deposits the specified amount into a player's bank account
/awithdraw - Withdraws the specified amount from a player's account
/abalance - Displays the amount of money in a player's account.
/atmhelp - Displays all the available commands.

/createatm - Creates a dynamic ATM directly in front of the player (Admin-Only)
/editatm - Opens up the object editing tool to edit the closest ATM to the player. (Admin-Only)
/destroyatm - Destroys the nearest ATM. (Admin-Only)
Screenshot
(since the video was in crappy quality)
Download
Pastebin
Changelog
1/07/2012 - v1.0
  • Released the script.
25/7/2012 - v1.1
  • Possibly fixed the commands.
  • Added db_close on filterscript exit. (stupid me)
Credits
Zeex for his ZCMD include
Incognito for his streamer plugin.
VincentDunn for writing the script.
Note: Since this script is so simple, I really don't care what you do with it. Post any bugs/questions below. Enjoy.


Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - misho1 - 01.07.2012

Good FS!


Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - JaKe Elite - 01.07.2012

Good job rep+


Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - $$inSane - 01.07.2012

nice FS, maybe i use it


Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - Lant - 02.07.2012

No saving system?


Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - Isaac Mofujohn - 02.07.2012

nice!!!!


Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - ReneG - 02.07.2012

Quote:
Originally Posted by Lant
Посмотреть сообщение
No saving system?
Read the thread.
Quote:
  • Money saving system. Players' bank accounts, and their hand cash are stored in an SQLite database in the scriptfiles folder so no need for another include.
  • ATMs are also stored in an SQLite database in the scriptfiles folder.
Yes, there is a saving system for player's money, bankaccount, and there is a saving system for all of the ATMs.


Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - Sajeevan - 02.07.2012

Код:
pawno\include\streamer.inc(156) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
pawno\include\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
pawno\include\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
pawno\include\streamer.inc(406) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
filterscripts\DynamicATMs.pwn(297) : error 017: undefined symbol "EDIT_RESPONSE_CANCEL"
\filterscripts\DynamicATMs.pwn(301) : error 017: undefined symbol "EDIT_RESPONSE_FINAL"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase



Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - ReneG - 02.07.2012

Quote:
Originally Posted by Sajeevan
Посмотреть сообщение
Код:
pawno\include\streamer.inc(156) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
pawno\include\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
pawno\include\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
pawno\include\streamer.inc(406) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
filterscripts\DynamicATMs.pwn(297) : error 017: undefined symbol "EDIT_RESPONSE_CANCEL"
\filterscripts\DynamicATMs.pwn(301) : error 017: undefined symbol "EDIT_RESPONSE_FINAL"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
This filterscript is for SAMP 0.3e, download the latest server package here, and grab the latest version of the streamer plugin here.


Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] - Dare Devil..... - 22.07.2012

/createatm dont work nor any other commands.