“Money Bonus” plugin for CS 1.6
About this content
A very simple plugin that gives all players a bonus in the form of money every 5 minutes: 150$ to a regular player and 300$ to an administrator.
In this version of the plugin, the payout interval is set to 30 seconds. In the set_task function, the first value is set to 30.0; set any value you want instead.
For example, if you want the bonus to be awarded every 5 minutes, then 60 seconds is one minute; 60x5 = 300. Set the value to (300.0), after each whole number, 500.0 for example, and so on.
Source configuration:
#define Admin_Flag ADMIN_BAN // Флаг для Админа
#define SETMoney_ADMIN 300 // Сколько денег будет выдаваться админу
#define SETMoney_PLAYER 150 // Сколько денег будет выдаваться игрокуTime after which the bonus will be awarded:
set_task(30.0, "MoneyBonus", id,_,_, "b") // Время через которое будет выдан бонус 30.0Author: NEWGAME


Comments (0)