[FilterScript] [FS] Money Drop on ground
#1

Money Drop Filterscript

Many people requested this so i decided to put my money drop code here as a FS.

What it does:

When players die, they drop 5 packets of money on the ground



Each packet give you 100$ (costumizable in the pwn)

Installing:

- Download the source from the link below.
- Open it, and if needed, costumize the quantity of money which each packet gives.
- Compile it, open server.cfg and add MoneyDrop on Filterscript line

Download:

Download - Sendspace
Download - Rapidshare
Download - Crazyhost

No need to give me credits, mirrors allowed
Reply
#2

nice, but I think that droped money should depend on player's money,isn't it?
Reply
#3

Can you host it on pastebin please? Link doesn't work for me.

Reply
#4

Nice
Reply
#5

Wow This is cool
Reply
#6

Quote:
Originally Posted by [LDT
LuxurY ]
nice, but I think that droped money should depend on player's money,isn't it?
Fixed and updated the download.

@Royal_Flush: Mirror works, if you cant open it wait for someone to mirror it.
I added a Rapidshare link, try it.
Reply
#7

Mirror'd

http://www.crazyhost.info/download.p...1MoneyDrop.rar
Reply
#8

Nice! i'm using on my server.
Reply
#9

Quote:
Originally Posted by Numhaken
Thanks, link added on first post
Reply
#10

Quote:
Originally Posted by TheRenegade
Quote:
Originally Posted by [LDT
LuxurY ]
nice, but I think that droped money should depend on player's money,isn't it?
Fixed and updated the download.

@Royal_Flush: Mirror works, if you cant open it wait for someone to mirror it.
I added a Rapidshare link, try it.
gTeam aren't used in your fs.
my simplified version http://pastebin.com/d4499b50d
Reply
#11

Np my FS works i tested it on 4-5 gamemodes.
Reply
#12

This would be much better, if the player would lose all his money, and the person who picks it up,would get his money by pickups. Cuz now you will get 500 dollar -.-'

Reply
#13

That's new.
Reply
#14

I dont think anyone else has ever scripted this in SA:MP.
Reply
#15

But it;s kind of simple, cuz you won;t get the whole amount of the victim, just 500$ -.-'

Reply
#16

If you want to make players lose all money use SetPlayerMoney(playerid,0) instead of GivePlayerMoney(playerid,-500).
However losing all money on death is kinda weird.
Reply
#17

yeah you right, so uhm, but can;'t you make it like random, example:
986 dollars or something and 418 or 26 and etc.

That would also be better.
Reply
#18

One could also (easily) make it take a percentage of your money. If you wanted it to take 1% of your money then

Code:
moneytotal = GetPlayerMoney(playerid)*.01;
GivePlayerMoney(playerid, -moneytotal);
Or something to that effect. That way people rich people will be preyed upon more than the poor/weak

EDIT: Ps I'll be using this. Thanks OP
Reply
#19

Quote:
Originally Posted by kaisersouse
One could also (easily) make it take a percentage of your money. If you wanted it to take 1% of your money then

Code:
moneytotal = GetPlayerMoney(playerid)*.01;
GivePlayerMoney(playerid, -moneytotal);
Or something to that effect. That way people rich people will be preyed upon more than the poor/weak

EDIT: Ps I'll be using this. Thanks OP
Nice i wanted to make it too but a thought stopped me:
What if the player has negative money? (ie. -10.000)
The killer who harvest the money get 1% of -10.000, and lose -100$?
And the player who dies gets GivePlayerMoney(playerid, --100); 2 minus could cause problems.
If so players could abuse of it.

Can you make some tests to verify?
Reply
#20

Cool looks real.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)