SA-MP Forums Archive
[FilterScript] [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - 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] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank (/showthread.php?tid=6466)



[FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - jerbob1992 - 10.07.2007

Hello, maybe you think: "I want my own script but i can't make the bank and the properties "
Well i couldn't so i copied:

Gangs
Bounties
Bank
Properties
worldTime
NO Gamble
Pirate Ship


from a other script and put it in an filterscript!
If you try to compile you get two warnings! But it does work!
Hope you are happy with it:
Rapidshare:
http://rapidshare.com/files/42167129/bank.rar.html

Megaupload:
http://www.megaupload.com/?d=KVG5PNGY

Box:
http://www.box.net/shared/igdasprv3b

CREDITS:

LVDM MoneyGrub Remake By Axel[Phoenix]
Original LVDM by Jax


Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - Rac3r - 10.07.2007

Going to try it out.

Would be nice if you credited the scripts you copied off. It was their hard work. Credit yourself of course, but they deserve something.


Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - jerbob1992 - 10.07.2007

Yeah i know, but i think the script was edited so much by different people i think i can't find ouy who maked it but this stands in the script:

print("\n----------------------------------");
print(" SAN ANDREAS DM ~MoneyGrub 0.5");
print(" LVDM MoneyGrub Remake By");
print(" Axel[Phoenix]");
print("----------------------------------\n");


Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - MaTrIx4057 - 10.07.2007

Quote:
Originally Posted by jerbob1992
Yeah i know, but i think the script was edited so much by different people i think i can't find ouy who maked it but this stands in the script:

print("\n----------------------------------");
print(" SAN ANDREAS DM ~MoneyGrub 0.5");
print(" LVDM MoneyGrub Remake By");
print(" Axel[Phoenix]");
print("----------------------------------\n");
Read it - Remake by Axel[Pheonix]


Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - jerbob1992 - 10.07.2007

i know, but how di i find the real creator
EDIT: now i find someone called Jax


Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - c-middia - 10.07.2007

forward SendPlayerFormattedText(playerid, const str[], define);
forward SendAllFormattedText(playerid, const str[], define);

here is what you need to fix your warns



Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - [SMB]Bip - 10.07.2007

Thanks mate it's helped me to add bounty on my server :P


Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - jerbob1992 - 10.07.2007

well but i removed something, the player that kills doenst get the bounty 

here is it
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new playercash;
	new killedplayer[MAX_PLAYER_NAME];
	new string[256];
	
	playercash = GetPlayerMoney(playerid);
	
	if(killerid == INVALID_PLAYER_ID)
	{
        SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
	}
	 else
	{
    	SendDeathMessage(killerid,playerid,reason);
		SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
		if(bounty[playerid] > 0 && (playerGang[killerid] == 0 || playerGang[playerid] != playerGang[killerid])) {
			GetPlayerName(playerid, killedplayer, sizeof(killedplayer));
			format(string, sizeof(string), "You earned a bounty of %d for killing %s.", bounty[playerid], killedplayer);
			SendClientMessage(killerid, COLOR_GREEN, string);

			GivePlayerMoney(killerid, bounty[playerid]);
			bounty[playerid] = 0;
		}
		if(playercash > 0)  {
			GivePlayerMoney(killerid, playercash);
		}
  	}
  	
  	if(playercash > 0)
  	{
	    ResetPlayerMoney(playerid);
    }
 	return 1;
}
Update the code without warnings thnx to c-middia and now gives the bounty to the killer


Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - [SMB]Bip - 10.07.2007

lol thanks mate :P


Re: [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank - Swisher - 14.01.2014

Quote:
Originally Posted by jerbob1992
Посмотреть сообщение
well but i removed something, the player that kills doenst get the bounty*

here is it
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
* * new playercash;
	new killedplayer[MAX_PLAYER_NAME];
	new string[256];
	
	playercash = GetPlayerMoney(playerid);
	
	if(killerid == INVALID_PLAYER_ID)
	{
* * * * SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
	}
	 else
	{
* * 	SendDeathMessage(killerid,playerid,reason);
		SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
		if(bounty[playerid] > 0 && (playerGang[killerid] == 0 || playerGang[playerid] != playerGang[killerid])) {
			GetPlayerName(playerid, killedplayer, sizeof(killedplayer));
			format(string, sizeof(string), "You earned a bounty of %d for killing %s.", bounty[playerid], killedplayer);
			SendClientMessage(killerid, COLOR_GREEN, string);

			GivePlayerMoney(killerid, bounty[playerid]);
			bounty[playerid] = 0;
		}
		if(playercash > 0)* {
			GivePlayerMoney(killerid, playercash);
		}
* 	}
* 	
* 	if(playercash > 0)
* 	{
	* * ResetPlayerMoney(playerid);
* * }
 	return 1;
}
Update the code without warnings thnx to c-middia and now gives the bounty to the killer
I tried this but It caused double kills in death box , due to multiple senddeathmessages but when i tried taking them out I got multiple errors.. where exactly do i add this ?