SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 01/07/2012, 01:29 AM   #1
ReneG
High-roller
 
Join Date: Oct 2011
Location: Sublime Text 2
Posts: 2,006
Reputation: 333
Default [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

Dynamic ATM System


Features
  • The ability to create, edit, destroy ATMs dynamically in game.
  • Server sided money. (makes money impossible to hack)
  • 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.
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.

Last edited by ReneG; 25/07/2012 at 08:47 AM.
ReneG is offline   Reply With Quote
Old 01/07/2012, 02:22 AM   #2
misho1
Gangsta
 
misho1's Avatar
 
Join Date: Feb 2011
Location: Egypt
Posts: 790
Reputation: 23
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

Good FS!
__________________
Code:
My Works:
(1)PM (2)Colors Menu 
(3)AFK (4)Gangs War (5)Huge Jump (6)Stunts LSA (7)Stunts LVA (8)Water Jump (9)Zombies DM
misho1 is offline   Reply With Quote
Old 01/07/2012, 02:55 AM   #3
_Jake_
High-roller
 
_Jake_'s Avatar
 
Join Date: Apr 2012
Location: Land of Ooo
Posts: 2,810
Reputation: 296
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

Good job rep+
__________________
I stopped playing stunt servers long time ago and decided to enter the RolePlay servers and roleplay with it, You would find me playing in P:LA or in any popular servers, edit or not, My roleplay name would be always Ronald_Lacson.


When on UN-RP servers, My username would be always Jake_Hero, If you want to add me on Skype, the ID would be, spencer_

I need a user who can let me use JakAdmin 3.2.2 on their servers, I am glad if someone will let me, It's not that i will steal anything - You're the one who'll upload the Beta Script.
_Jake_ is offline   Reply With Quote
Old 01/07/2012, 03:25 AM   #4
$$inSane
Gangsta
 
$$inSane's Avatar
 
Join Date: Feb 2012
Location: Somewhere in India
Posts: 597
Reputation: 30
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

nice FS, maybe i use it
__________________
Be Honest to me !
$$inSane is offline   Reply With Quote
Old 02/07/2012, 04:37 AM   #5
Lant
Big Clucker
 
Join Date: Jun 2012
Posts: 120
Reputation: 12
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

No saving system?
Lant is offline   Reply With Quote
Old 02/07/2012, 04:44 AM   #6
Isaac Mofujohn
Big Clucker
 
Isaac Mofujohn's Avatar
 
Join Date: Sep 2011
Location: California, USA
Posts: 58
Reputation: 4
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

nice!!!!
Isaac Mofujohn is offline   Reply With Quote
Old 02/07/2012, 04:58 AM   #7
ReneG
High-roller
 
Join Date: Oct 2011
Location: Sublime Text 2
Posts: 2,006
Reputation: 333
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

Quote:
Originally Posted by Lant View Post
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.
ReneG is offline   Reply With Quote
Old 02/07/2012, 04:35 PM   #8
Sajeevan
Big Clucker
 
Join Date: May 2012
Posts: 73
Reputation: 1
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

Code:
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 (c) 1997-2006, ITB CompuPhase
Sajeevan is offline   Reply With Quote
Old 02/07/2012, 05:13 PM   #9
ReneG
High-roller
 
Join Date: Oct 2011
Location: Sublime Text 2
Posts: 2,006
Reputation: 333
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

Quote:
Originally Posted by Sajeevan View Post
Code:
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 (c) 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.
ReneG is offline   Reply With Quote
Old 22/07/2012, 10:22 AM   #10
Dare Devil.....
Huge Clucker
 
Dare Devil.....'s Avatar
 
Join Date: Jan 2012
Location: Pakistan
Posts: 255
Reputation: 10
Default Re: [0.3e] Dynamic ATM System [zcmd, SQLite, streamer]

/createatm dont work nor any other commands.
Dare Devil..... is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] V.I.P System 3 Levels: SQLite, ZCMD, SScanf! Edvin Filterscripts 116 28/05/2014 09:05 PM
[Include] [INC] TSS - tAxI's Streamer Systems: full Streamer + HOUSING SYSTEM Utillity cptnsausage Includes 101 24/08/2012 12:05 AM
[GameMode] International FreeRoam v0.1 - v0.2 - ZCMD, SScanf, SQLite, foreach! Edvin Gamemode Scripts 8 26/12/2011 12:58 AM
[Help] ZCMD Dynamic Pickup Creating Dudits Help Archive 10 15/07/2010 03:15 AM


All times are GMT. The time now is 12:23 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.