SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 28/01/2012, 02:08 PM   #1
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 277
Reputation: 11
Wink RatMachines - Custom Sprunk, Gun, ATM and Poker machines!

RatMachines

Another FS from me, this time a unique one

Information

RatMachines is a filterscript that allows you to make custom Sprunk, Gun and Poker machines.
It is very customizable.
RatMachines is made 100% by me, with the exeption of GetXYInFrontOfPlayer, wich's author i don't know.
When it shuts down it saves all machines to a file and when it is turned on again it loads the machines from that file.

Things to know
  • You need to have a file called machines.txt in your /scriptfiles/RatMachines/ folder.
  • To help anti-cheat systems, RatMachines calls OnRatMachineUse every time a RatMachine is used.

Usage

Command list:

/createmachine Usage: /createmachine [machinetype] Machinetypes are: 0 = Sprunk machine, 1 = Gun machine, 2 = Poker machine.
/undolastmachine Deletes the previously created machine.

Callback:

OnRatMachineUse(playerid,machinetype) is called when a player uses a RatMachine. Machinetypes are listed above.

If you want, you can give me a repo+ if you liked this script.

Also don't forget to tell me if you use this script for real purposes. It would be awesome!

Post any bugs in this post.

Coming Features

- Suggest one!

Videos

Downloads



Alternate mirror:


Pastebin


__________________
I am making a new and unique all-in-one server with everything 100% self-made, nothing is copied. More information can be found here
My scripts:
[FilterScript] RatEdit - In-game map editor! [0.3d]
[FilterScript] RatMachines - Custom Sprunk, Gun, and Poker machines!
Please note however that both filterscripts are no longer being developed and are available as-is. I am currently too busy on my own server.
If you have problems with your scripts, large or minor, shoot me a pm and i will try my best to help you!

Last edited by [FSaF]Jarno; 15/04/2012 at 06:04 AM.
[FSaF]Jarno is offline   Reply With Quote
Old 28/01/2012, 03:21 PM   #2
davve95
High-roller
 
davve95's Avatar
 
Join Date: Nov 2009
Location: Sweden
Posts: 2,697
Reputation: 103
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

Sounds very nice but pleas get some pictures!!!! .
__________________
Working on big projects!
------------------------

davve95 is offline   Reply With Quote
Old 28/01/2012, 03:41 PM   #3
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 277
Reputation: 11
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

A video is coming, just wait for it
__________________
I am making a new and unique all-in-one server with everything 100% self-made, nothing is copied. More information can be found here
My scripts:
[FilterScript] RatEdit - In-game map editor! [0.3d]
[FilterScript] RatMachines - Custom Sprunk, Gun, and Poker machines!
Please note however that both filterscripts are no longer being developed and are available as-is. I am currently too busy on my own server.
If you have problems with your scripts, large or minor, shoot me a pm and i will try my best to help you!
[FSaF]Jarno is offline   Reply With Quote
Old 28/01/2012, 03:46 PM   #4
Kar
High-roller
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,401
Reputation: 215
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

pastebin please?

www.pastebin.com
__________________

  • Are you prepared to get your wish? Twisted Metal SA-MP coming soon! Join the IRC Channel: #tm on irc.tl - http://tm.lvcnr.net | @tmsamp_dev

server.lvcnr.net:7777 | samp://server.lvcnr.net:7777
www.lvcnr.net | @lvcnrdev
Kar is offline   Reply With Quote
Old 28/01/2012, 04:20 PM   #5
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 277
Reputation: 11
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

why pastebin?
Sure i can do that for you...
__________________
I am making a new and unique all-in-one server with everything 100% self-made, nothing is copied. More information can be found here
My scripts:
[FilterScript] RatEdit - In-game map editor! [0.3d]
[FilterScript] RatMachines - Custom Sprunk, Gun, and Poker machines!
Please note however that both filterscripts are no longer being developed and are available as-is. I am currently too busy on my own server.
If you have problems with your scripts, large or minor, shoot me a pm and i will try my best to help you!
[FSaF]Jarno is offline   Reply With Quote
Old 28/01/2012, 05:08 PM   #6
Ernests
Big Clucker
 
Ernests's Avatar
 
Join Date: Apr 2011
Posts: 79
Reputation: 4
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

sounds nice but i want see video
__________________
Sorry for my bad english!
Ernests is offline   Reply With Quote
Old 29/01/2012, 07:05 AM   #7
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 277
Reputation: 11
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

Quote:
Originally Posted by Ernests View Post
sounds nice but i want see video
There it is now
(offtopic: O.O 69 posts )
__________________
I am making a new and unique all-in-one server with everything 100% self-made, nothing is copied. More information can be found here
My scripts:
[FilterScript] RatEdit - In-game map editor! [0.3d]
[FilterScript] RatMachines - Custom Sprunk, Gun, and Poker machines!
Please note however that both filterscripts are no longer being developed and are available as-is. I am currently too busy on my own server.
If you have problems with your scripts, large or minor, shoot me a pm and i will try my best to help you!
[FSaF]Jarno is offline   Reply With Quote
Old 29/01/2012, 07:15 AM   #8
lordturhan
Huge Clucker
 
lordturhan's Avatar
 
Join Date: Oct 2010
Posts: 338
Reputation: 10
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

Loved the idea im defienetly gonna test this!

Question:

In weapon machine do you get only mp5 or any other weapon?

Also +rep i hope you update the system with better feautres!
__________________
lordturhan is offline   Reply With Quote
Old 29/01/2012, 07:22 AM   #9
lordturhan
Huge Clucker
 
lordturhan's Avatar
 
Join Date: Oct 2010
Posts: 338
Reputation: 10
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

I got error:

\filterscripts\RatMachines.pwn(326) : warning 203: symbol is never used: "ret_memcpy"
__________________
lordturhan is offline   Reply With Quote
Old 29/01/2012, 07:29 AM   #10
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 277
Reputation: 11
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

that warning means nothing, ignore it.
it will be fixed in the next version.
Also, you can define the weapon of the gun machine as well as how many bullets u get.
__________________
I am making a new and unique all-in-one server with everything 100% self-made, nothing is copied. More information can be found here
My scripts:
[FilterScript] RatEdit - In-game map editor! [0.3d]
[FilterScript] RatMachines - Custom Sprunk, Gun, and Poker machines!
Please note however that both filterscripts are no longer being developed and are available as-is. I am currently too busy on my own server.
If you have problems with your scripts, large or minor, shoot me a pm and i will try my best to help you!
[FSaF]Jarno 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
Remove ALL SPRUNK/SNACK Machines Medardo4Life Scripting Help 7 24/12/2012 04:01 PM
Sprunk Machines Pre-Coded? sidhu123 Scripting Help 10 29/01/2012 07:50 AM
How to disable sprunk machines boyan96 Scripting Help 4 17/10/2011 01:41 PM
Sprunk machines. phatlaced Help Archive 1 30/09/2010 06:27 AM
Sprunk machines? Thrarod Help Archive 1 11/05/2010 04:14 PM


All times are GMT. The time now is 09:48 AM.


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