SA-MP Forums Archive
Help bounty - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help bounty (/showthread.php?tid=382653)



Help bounty - Rapk1d - 04.10.2012

I have this script to give bounty to NFS Club members . But i want make it to givebounty at NRG and NFS club. How i can made this ?

Код:
forward GiveBounty(playerid, value);
public GiveBounty(playerid, value)
{
	if(PlayerInfo[playerid][pClubLeader] == 1 || PlayerInfo[playerid][pClubMember] == 1)
	{
		PlayerInfo[playerid][pBounty] = PlayerInfo[playerid][pBounty] + value;
		new string[128];
		format(string, sizeof(string), "[NFS Club] Ai castigat %d Bounty Points", value);
		SendClientMessage(playerid, COLOR_GREEN, string);
	}
}



Re: Help bounty - Red_Dragon. - 04.10.2012

Add the same part but for NRG club and its variables


Re: Help bounty - Rapk1d - 04.10.2012

Don't work ...