[FilterScript] [FS] Gangs+Bounties+Properties+Worldtime+NO gamble+Pirate ship+bank
#1

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
Reply
#2

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.
Reply
#3

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");
Reply
#4

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]
Reply
#5

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

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

here is what you need to fix your warns
Reply
#7

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

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
Reply
#9

lol thanks mate :P
Reply
#10

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 ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)