27.07.2013, 12:38
Quote:
pawn Код:
|
pawn Код:
if IsPlayerInRangeOfPoint(playerid, 3, atmX, atmY, atmZ)
{
if(PaydayPassed[playerid] == 1)
{ // define this somewhere: "new PaydayPassed[MAX_PLAYERS];" and when it's payday set the value to one, then after 40 mins set it to 0.
SendClientMessage(playerid, -1, "You have a cheque awaiting you from the last payday, pick it up!");
GivePlayerMoney(playerid, 100);
}
}