SA-MP Forums Archive
[FilterScript] [FS] Money Drop on ground - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Money Drop on ground (/showthread.php?tid=28905)

Pages: 1 2


Re: [FS] Money Drop on ground - kaisersouse - 05.03.2008

Quote:
Originally Posted by TheRenegade
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?
Umm

if(GetPlayerMoney(playerid) < 1) return 1;

before the other parts. That will make it not do anything if the person has 0 or negative money. Might want to set that higher depending on gamemode, just so people will have SOME money to get back on their feet if it turns out the only thing they are good at is dying.


Re: [FS] Money Drop on ground - Rks25 - 05.03.2008

This really would better (can't you a version for me), with detecting the victims's money and placing it in pickups, and who picks it up, get's all his money??




Re: [FS] Money Drop on ground - Blackhawk - 05.03.2008

this is awesome ty


Re: [FS] Money Drop on ground - asteroid - 05.03.2008

Quote:
Originally Posted by Damage2008
I dont think anyone else has ever scripted this in SA:MP.
Are u joking ? LOOOL i scripted it when samp 0.2 camed out Its so damn easy just a little of imagination


Re: [FS] Money Drop on ground - TheRenegade - 05.03.2008

Quote:
Originally Posted by kaisersouse
Umm

if(GetPlayerMoney(playerid) < 1) return 1;
Great, your problem is solved then!

Quote:
Originally Posted by asteroid
Quote:
Originally Posted by Damage2008
I dont think anyone else has ever scripted this in SA:MP.
Are u joking ? LOOOL i scripted it when samp 0.2 camed out Its so damn easy just a little of imagination
I think he meant that this is the first money drop system released in the showroom which is true,
but obviously im not the first scripting something like this, its not hard to make!


Re: [FS] Money Drop on ground - TheRenegade - 05.03.2008

duh doublepost mod delete this


Re: [FS] Money Drop on ground - asteroid - 05.03.2008

I thought he was thinking this about whole samp, but nvm good first release . Ok ill stop offtopic


Re: [FS] Money Drop on ground - Rks25 - 05.03.2008

Quote:
Originally Posted by Royal_Flush
This really would better (can't you a version for me), with detecting the victims's money and placing it in pickups, and who picks it up, get's all his money??

Got no answer..


Re: [FS] Money Drop on ground - TheRenegade - 05.03.2008

Quote:
Originally Posted by Royal_Flush
Quote:
Originally Posted by Royal_Flush
This really would better (can't you a version for me), with detecting the victims's money and placing it in pickups, and who picks it up, get's all his money??

Got no answer..
Me and kaiserouse already answered to this.
Its not that hard to do


Re: [FS] Money Drop on ground - jesse989898 - 05.03.2008

Quote:
Originally Posted by [LDT
LuxurY ]
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
i agree, why do u have
pawn Code:
static gTeam[MAX_PLAYERS];
?


Re: [FS] Money Drop on ground - Stunt-Andreas - 09.04.2010

Not bad


Re: [FS] Money Drop on ground - Min - 05.08.2010

Nice FS!



Re: [FS] Money Drop on ground - Ludek - 09.10.2010

please reupload download link!


Re: [FS] Money Drop on ground - [CripZ]SERCH - 09.10.2010

mabaco
weapon drop better


Re: [FS] Money Drop on ground - iJumbo - 09.10.2010

very Nice


Re: [FS] Money Drop on ground - Lookin - 14.10.2010

Love it! ill defiantly use this

Code:
 1. This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.
......Seriously its annoying