AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Float to Integer (https://forums.alliedmods.net/showthread.php?t=183384)

Diegorkable 04-21-2012 08:03

Float to Integer
 
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 )

Arkshine 04-21-2012 08:05

Re: Float to Integer
 
SEARCH

http://www.amxmodx.org/funcwiki.php?...ound&go=search

Diegorkable 04-21-2012 08:08

Re: Float to Integer
 
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.

Arkshine 04-21-2012 08:10

Re: Float to Integer
 
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

Diegorkable 04-21-2012 08:12

Re: Float to Integer
 
Ok well thank you anyways :)


All times are GMT -4. The time now is 07:53.

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