Raised This Month: $ Target: $400
 0% 

how?: if a float=0.0 ..then set float=1.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
cs1.7
Senior Member
Join Date: Oct 2008
Old 06-28-2010 , 14:31   how?: if a float=0.0 ..then set float=1.0
Reply With Quote #1

hi

how can i force "floatX" to be 1.0 ..if has a value of 0.0?

this does not work:

PHP Code:
  new Float:floatX variableM 100 g_AlivePlayers;
  if(
floatX 0.0)
  {
    
floatX 1.0;
  } 
__________________
_____________
/_____\
[° ||| °]
./..............\▓
cs1.7 is offline
 


Thread Tools
Display Modes

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


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