Raised This Month: $ Target: $400
 0% 

Request | Convert Float to regular number


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Lolz123
Member
Join Date: Aug 2010
Old 07-20-2011 , 15:06   Request | Convert Float to regular number
Reply With Quote #1

i need function or way to convert a float to a regular number.
Example :
PHP Code:
#include <amxmodx>


public plugin_init()
{
    
register_clcmd("say /1""Try");
}

public Try(
id)
{
    new 
Float:Num1 5.0
    
new Num2 Num1;
    
    
client_print(idprint_chat"%d"Num2);

Lolz123 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 00:51.


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