Raised This Month: $ Target: $400
 0% 

Float to Integer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 04-21-2012 , 08:03   Float to Integer
Reply With Quote #1

Is there any way to convert a Float: variable to an integer?
for example: 1.0 -> 1 ( so there won't be any tag mismatches )
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-21-2012 , 08:05   Re: Float to Integer
Reply With Quote #2

SEARCH

http://www.amxmodx.org/funcwiki.php?...ound&go=search
__________________
Arkshine is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 04-21-2012 , 08:08   Re: Float to Integer
Reply With Quote #3

why the heck would I think that a function called "floatorund" would make a float to an integer? and I did search (on google and here) and found nothing, atleast when its about AMX Mod X.
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-21-2012 , 08:10   Re: Float to Integer
Reply With Quote #4

You can find post on this forum, and again as many have already said go to the funcwiki, you could have just type "float" and you would have found what you search : http://www.amxmodx.org/funcwiki.php?...loat&go=search
__________________
Arkshine is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 04-21-2012 , 08:12   Re: Float to Integer
Reply With Quote #5

Ok well thank you anyways
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
Reply



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:53.


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