Thread: [Solved] Zeus with clip size 10, how?
View Single Post
Austin
Senior Member
Join Date: Oct 2005
Old 06-19-2023 , 15:29   Re: Zeus with clip size 10, how?
Reply With Quote #8

Quote:
Originally Posted by bklol View Post
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!
Austin is offline