Raised This Month: $ Target: $400
 0% 

data type


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jim_yang
Veteran Member
Join Date: Aug 2006
Old 04-20-2008 , 21:32   data type
Reply With Quote #1

why some natives use different data type to deal with a float data?

in fun.cpp

pPlayer->v.armorvalue = param;

then

pPlayer->v.health = float(param);

both params are int type, but armorvalue and health are float type.

can someone explain this ? thanks
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang 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 22:18.


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