give money at some interval
hi
in my server every round is for 2.0 minutes, i don't want to give money at round begin instead once every 7-8 mins .how can i modify this PHP Code:
|
Re: give money at some interval
Did you try using set_task?
|
Re: give money at some interval
Quote:
i'm getting money only once why? PHP Code:
|
Re: give money at some interval
The task is only done once. So once the plugin iniciates and finishes that one time then it assumes its done. Loop it.
|
Re: give money at some interval
See set_task()
|
Re: give money at some interval
Quote:
b=loop task infinitely . but players get money once |
Re: give money at some interval
Quote:
Hint: Counter your arguments. |
Re: give money at some interval
Quote:
@hint :you mean this? set_task(180.0,"new_round",2,"",0,"b"); after this i'm able to get money every3 mins :P http://4.bp.blogspot.com/_r1dFyemAxm.../thank-you.jpg thank you for your replies SaM.ThE.MaN ,Moefysiks |
Re: give money at some interval
What do you think the 2 is for?
|
Re: give money at some interval
Quote:
without that i couldn't compile the sma got some errors |
| All times are GMT -4. The time now is 10:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.