SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 28/01/2012, 03:08 PM   #1
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 384
Reputation: 25
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


__________________
If you make a map that is suitable for an All-in-one server and i think it is good enough, you will get +REP and will be credited on the server. (Server is not done yet so it's not online btw)
The following maps are needed:
Custom islands, houses, interiors, islands, TDM/DM areas, racing tracks.
If your map isn't on the list but you still think it would be good for my server, go ahead! There might be some good ideas i just didn't list
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, 04:21 PM   #2
davve95
High-roller
 
davve95's Avatar
 
Join Date: Nov 2009
Location: Sweden
Posts: 3,512
Reputation: 190
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

Sounds very nice but pleas get some pictures!!!! .
davve95 is offline   Reply With Quote
Old 28/01/2012, 04:41 PM   #3
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 384
Reputation: 25
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

A video is coming, just wait for it
__________________
If you make a map that is suitable for an All-in-one server and i think it is good enough, you will get +REP and will be credited on the server. (Server is not done yet so it's not online btw)
The following maps are needed:
Custom islands, houses, interiors, islands, TDM/DM areas, racing tracks.
If your map isn't on the list but you still think it would be good for my server, go ahead! There might be some good ideas i just didn't list
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, 04:46 PM   #4
Kar
High-roller
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,894
Reputation: 286
Default Re: RatMachines - Custom Sprunk, Gun and Poker machines!

pastebin please?

www.pastebin.com
__________________

  • Twisted Metal's Website & Forums are up! http://tm.lvcnr.net

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

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

why pastebin?
Sure i can do that for you...
__________________
If you make a map that is suitable for an All-in-one server and i think it is good enough, you will get +REP and will be credited on the server. (Server is not done yet so it's not online btw)
The following maps are needed:
Custom islands, houses, interiors, islands, TDM/DM areas, racing tracks.
If your map isn't on the list but you still think it would be good for my server, go ahead! There might be some good ideas i just didn't list
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, 06:08 PM   #6
Ernests
Big Clucker
 
Ernests's Avatar
 
Join Date: Apr 2011
Posts: 80
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, 08:05 AM   #7
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 384
Reputation: 25
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 )
__________________
If you make a map that is suitable for an All-in-one server and i think it is good enough, you will get +REP and will be credited on the server. (Server is not done yet so it's not online btw)
The following maps are needed:
Custom islands, houses, interiors, islands, TDM/DM areas, racing tracks.
If your map isn't on the list but you still think it would be good for my server, go ahead! There might be some good ideas i just didn't list
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, 08:15 AM   #8
lordturhan
Huge Clucker
 
lordturhan's Avatar
 
Join Date: Oct 2010
Posts: 341
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, 08:22 AM   #9
lordturhan
Huge Clucker
 
lordturhan's Avatar
 
Join Date: Oct 2010
Posts: 341
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, 08:29 AM   #10
[FSaF]Jarno
Huge Clucker
 
[FSaF]Jarno's Avatar
 
Join Date: May 2011
Location: Kestilä, Oulun lääni, Finland
Posts: 384
Reputation: 25
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.
__________________
If you make a map that is suitable for an All-in-one server and i think it is good enough, you will get +REP and will be credited on the server. (Server is not done yet so it's not online btw)
The following maps are needed:
Custom islands, houses, interiors, islands, TDM/DM areas, racing tracks.
If your map isn't on the list but you still think it would be good for my server, go ahead! There might be some good ideas i just didn't list
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 05:01 PM
Sprunk Machines Pre-Coded? sidhu123 Scripting Help 10 29/01/2012 08: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 12:15 AM.


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