Raised This Month: $ Target: $400
 0% 

Skills float


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-30-2014 , 18:19   Re: Skills float
Reply With Quote #9

The tag should not be here:
PHP Code:
Floats float:Skills[id
It should be Float: tag, and put it where you create the new variable. You have to change this:
PHP Code:
new Float:Skills[33
And now you have that Skills, which is always float, unless you floatround it.

P.S.: You can also do this:
PHP Code:
Skills[killer] += get_pcvar_float(g_AddSkills[hs 0]) 
Instead of this:
PHP Code:
    if(hs)
        
Skills[killer] += get_pcvar_float(g_AddSkills[1])
    else
        
Skills[killer] += get_pcvar_float(g_AddSkills[0]) 
__________________

Last edited by Flick3rR; 06-30-2014 at 18:20.
Flick3rR is offline
Send a message via Skype™ to Flick3rR
 



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 21:14.


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