Regular PayDay
#6

Find old public payday and put it in comment...
Here is example for your payday..... You need to change money valule and to add other factions...
pawn Код:
SetTimer("PayDay", 60000, 1);
forward PayDay();
public PayDay
{
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
        if(PlayerInfo[playerid][pLeader] == 1) { SafeGivePlayerMoney(playerid, 1000); }
        else if(PlayerInfo[playerid][pRank] == 1) { SafeGivePlayerMoney(playerid, 100); }
        else if(PlayerInfo[playerid][pRank] == 2) { SafeGivePlayerMoney(playerid, 200); }
        else if(PlayerInfo[playerid][pRank] == 3) { SafeGivePlayerMoney(playerid, 300); }
        else if(PlayerInfo[playerid][pRank] == 4) { SafeGivePlayerMoney(playerid, 400); }
        else if(PlayerInfo[playerid][pRank] == 5) { SafeGivePlayerMoney(playerid, 500); }
        else if(PlayerInfo[playerid][pRank] == 6) { SafeGivePlayerMoney(playerid, 600); }
        else if(PlayerInfo[playerid][pRank] == 7) { SafeGivePlayerMoney(playerid, 700); }
        else if(PlayerInfo[playerid][pRank] == 8) { SafeGivePlayerMoney(playerid, 800); }
    }
    else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
        if(PlayerInfo[playerid][pLeader] == 1) { SafeGivePlayerMoney(playerid, 2000); }
        else if(PlayerInfo[playerid][pRank] == 1) { SafeGivePlayerMoney(playerid, 200); }
        else if(PlayerInfo[playerid][pRank] == 2) { SafeGivePlayerMoney(playerid, 400); }
        else if(PlayerInfo[playerid][pRank] == 3) { SafeGivePlayerMoney(playerid, 600); }
        else if(PlayerInfo[playerid][pRank] == 4) { SafeGivePlayerMoney(playerid, 800); }
        else if(PlayerInfo[playerid][pRank] == 5) { SafeGivePlayerMoney(playerid, 1000); }
        else if(PlayerInfo[playerid][pRank] == 6) { SafeGivePlayerMoney(playerid, 1200); }
        else if(PlayerInfo[playerid][pRank] == 7) { SafeGivePlayerMoney(playerid, 1400); }
        else if(PlayerInfo[playerid][pRank] == 8) { SafeGivePlayerMoney(playerid, 1600); }
    }
    return 1;
}
rep +1 tnx
Reply


Messages In This Thread
Regular PayDay - by Tautwis - 11.08.2011, 16:51
Re: Regular PayDay - by Tautwis - 11.08.2011, 21:17
Re: Regular PayDay - by Jmarr - 12.08.2011, 00:34
Re: Regular PayDay - by Davz*|*Criss - 12.08.2011, 00:36
Re: Regular PayDay - by dat_nguyen - 25.08.2011, 11:38
Re: Regular PayDay - by Dragony92 - 25.08.2011, 11:58

Forum Jump:


Users browsing this thread: 2 Guest(s)