Reward every XX playing hours?
#2

When player is doing 10 hours,then it`s start again from 1?
You cand do something like
Код:
If(PlayerInfo[playerid][pHours] == 10
{
PlayerInfo[playerid][RewardPoint] += 1;
}
If(PlayerInfo[playerid][pHours] == 20
{
PlayerInfo[playerid][RewardPoint] += 1;
}
If(PlayerInfo[playerid][pHours] == 30
{
PlayerInfo[playerid][RewardPoint] += 1;
}
Or if is starting from 0 again you need just If(PlayerInfo[playerid][pHours] == 10 ..
Change RewardPoint with your code
Reply


Messages In This Thread
Reward every XX playing hours? - by Supercop - 02.04.2012, 11:32
Re: Reward every XX playing hours? - by TzAkS. - 02.04.2012, 11:41
Re: Reward every XX playing hours? - by Supercop - 02.04.2012, 11:44
Re: Reward every XX playing hours? - by AndreT - 02.04.2012, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)