Raised This Month: $ Target: $400
 0% 

Solved Nanosuit 2x faster rachargable energy


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DJBosma
Member
Join Date: Dec 2009
Old 12-24-2018 , 05:05   Nanosuit 2x faster rachargable energy
Reply With Quote #1

Well,

I've tried to modify the nanosuit so that when a player buys a option his energy will recharge faster.

This is what i've got until now

PHP Code:
new Float:energy cl_nn_energy[player]
static 
Float:energy2
energy2 
+= energy
energy2 
get_pcvar_float(pcv_nn_regenerate) * 2
cl_nn_block_recharge
[player] = energy2 += floatmin(g_nn_energy[player], energy2
Any ideas?

Last edited by DJBosma; 12-25-2018 at 18:54. Reason: Solved
DJBosma is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode