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);
}
}