SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 25/11/2014, 01:56 PM   #1
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 248
Reputation: 27
Default Simple Goverment Payout

here is a old code of mine i had for ages and never used it.

A simple Payout script with random payouts

Features:
  • Random Pay
  • Payout every 30 mins


Last edited by Jakwob; 30/07/2015 at 04:53 PM.
Jakwob is offline   Reply With Quote
Old 25/11/2014, 03:19 PM   #2
LeXuZ
Huge Clucker
 
Join Date: Oct 2014
Location: United Kingdom
Posts: 301
Reputation: 12
Default Re: Simple Goverment Payout

This is useful, i remember you showing me this Jakwob, nice work!
LeXuZ is offline   Reply With Quote
Old 28/11/2014, 04:14 AM   #3
bustern
Gangsta
 
Join Date: Aug 2013
Location: Bulgaria
Posts: 549
Reputation: 39
Default Re: Simple Goverment Payout

Quote:
Originally Posted by LeXuZ View Post
This is useful, i remember you showing me this Jakwob, nice work!
Yea as useful as my shit.Nice 1 minute scripting or nah ?Who the hell is gonna use this bullshit...
__________________
My works:
iTune, tune any vehicle IG, unseen script - http://forum.sa-mp.com/showthread.php?t=571633
Roleplay website template with webshop - http://forum.sa-mp.com/showthread.php?t=533758
UNIQUE BC:RP Gamemode - http://forum.sa-mp.com/showthread.php?t=492329
DeathMatch GM with a lot of commands - http://forum.sa-mp.com/showthread.php?t=462554
Movable doors,gate,barier,objects near LSPD and CityHall ! - http://forum.sa-mp.com/showthread.php?t=460897
DM arena - http://forum.sa-mp.com/showthread.php?t=461746
Weapon shop - http://forum.sa-mp.com/showthread.php?t=459375
New weapon shop - http://forum.sa-mp.com/showthread.php?t=459513
Tele Menu - http://forum.sa-mp.com/showthread.php?t=459683
bustern is offline   Reply With Quote
Old 28/11/2014, 04:17 AM   #4
Glossy42O
High-roller
 
Join Date: Oct 2014
Location: in my house
Posts: 1,734
Reputation: 231
Default Re: Simple Goverment Payout

Quote:
Originally Posted by bustern View Post
Yea as useful as my shit.Nice 1 minute scripting or nah ?Who the hell is gonna use this bullshit...
Wow so it's 1 minute, who da fuck cares? If it works then it's great. No need to make it "special" or 10000000 lines.
Glossy42O is offline   Reply With Quote
Old 28/11/2014, 04:18 AM   #5
bustern
Gangsta
 
Join Date: Aug 2013
Location: Bulgaria
Posts: 549
Reputation: 39
Default Re: Simple Goverment Payout

But tottaly useless
Its like i can make a script that says hello madafacka to every player who connects to the server and will someone use it ?Nah.
__________________
My works:
iTune, tune any vehicle IG, unseen script - http://forum.sa-mp.com/showthread.php?t=571633
Roleplay website template with webshop - http://forum.sa-mp.com/showthread.php?t=533758
UNIQUE BC:RP Gamemode - http://forum.sa-mp.com/showthread.php?t=492329
DeathMatch GM with a lot of commands - http://forum.sa-mp.com/showthread.php?t=462554
Movable doors,gate,barier,objects near LSPD and CityHall ! - http://forum.sa-mp.com/showthread.php?t=460897
DM arena - http://forum.sa-mp.com/showthread.php?t=461746
Weapon shop - http://forum.sa-mp.com/showthread.php?t=459375
New weapon shop - http://forum.sa-mp.com/showthread.php?t=459513
Tele Menu - http://forum.sa-mp.com/showthread.php?t=459683
bustern is offline   Reply With Quote
Old 28/11/2014, 04:50 AM   #6
Arastair
Gangsta
 
Join Date: Jun 2014
Posts: 783
Reputation: 49
Default Re: Simple Goverment Payout

Could you explain a little more?
__________________
"War does not determine who is right... only who is left"
Arastair is offline   Reply With Quote
Old 28/11/2014, 04:53 AM   #7
MD5
Huge Clucker
 
MD5's Avatar
 
Join Date: Nov 2014
Location: United Kingdom
Posts: 247
Reputation: 24
Default Re: Simple Goverment Payout

Functions

Quote:
This script has an randomized amount of money defined at the top of the script, but it also uses a timer. And that timer is used to give the player the (randomized amount of money) I stated in the beginning. And, then displays a game text saying "Government Payout".
__________________
MD5 is offline   Reply With Quote
Old 28/11/2014, 09:28 AM   #8
Glossy42O
High-roller
 
Join Date: Oct 2014
Location: in my house
Posts: 1,734
Reputation: 231
Default Re: Simple Goverment Payout

Quote:
Originally Posted by bustern View Post
But tottaly useless
Its like i can make a script that says hello madafacka to every player who connects to the server and will someone use it ?Nah.
i would use it.
Glossy42O is offline   Reply With Quote
Old 28/11/2014, 09:51 AM   #9
Alex Magaņa
High-roller
 
Alex Magaņa's Avatar
 
Join Date: Oct 2012
Location: 𝕭𝖗𝖔𝖙𝖍𝖊𝖗𝖍𝖔𝖔𝖉
Posts: 2,155
Reputation: 218
Default Re: Simple Goverment Payout

Simple but good for a beginner.
__________________

HOME --- FORUMS --- DISCORD --- SERVER
SAMH: Prop Hunt server is coming soon!
Alex Magaņa is offline   Reply With Quote
Old 28/11/2014, 11:24 AM   #10
Schneider
Gangsta
 
Schneider's Avatar
 
Join Date: Jun 2007
Location: Netherlands
Posts: 515
Reputation: 136
Default Re: Simple Goverment Payout

Why don't you just use the random-function to generate a random payout-amount instead of an array?

pawn Code:
#define MinPayout 200
#define MaxPayout 2500

GivePlayerMoney(i, MinPayout+random(MaxPayout-MinPayout));
Schneider 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
Total Payout help tiernantheman Scripting Help 4 18/10/2012 01:03 PM
I will payout for Delete Anticheat Yordan_Kronos Scripting Help 1 10/06/2012 03:27 PM
I will payout Yordan_Kronos Scripting Help 9 14/05/2012 06:12 AM
drag strip payout [LHT]Bally Scripting Help 2 13/09/2011 05:52 PM
New way o payout Panormitis Help Archive 1 27/04/2011 03:24 PM


All times are GMT. The time now is 01:36 PM.


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