Quote:
Originally Posted by bklol
sorry the m_range is stored float in memory
so it should be
PHP Code:
StoreToAddress(CCSWeaponData + view_as<Address>(addr_range), view_as<int>(500.0), NumberType_Int32);
|
It works.
Excellent Thanks!
I also added these server settings.
mp_taser_recharge_time 1 // The time in seconds until the taser can shoot again after its shot.
mp_weapons_allow_zeus 10 // how many zeus purchases per round allowed
These give some nice features.
At the start the taser has 10 shots showing and they are rapid fire shots.
After this it shows 1 in the clip (mag)
And this is not rapid fire but takes mp_taser_recharge_time to shoot again and this one shot never expires.
You can purchase another taser to get a new 10 rapid firs shots.
Perfect!