Pay Player By Time?
#1

I am making a turf system for factions on my RP server. This is really simple but I don't know how to do it. I want it to pay the faction bank or the leader. I would like it to play $100 per 5 minutes. How would I do this?
Reply
#2

Код:
forward PayTimer(playerid); //at top of script

SetTimer("PayTimer",300000,true); //this goes under ongamemodeinit-
public PayTimer(playerid)
{
GivePlayerMoney(playerid,100);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)