Raised This Month: $ Target: $400
 0% 

amxx have FloatArray?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
0920357689
Senior Member
Join Date: Apr 2008
Old 12-30-2010 , 15:24   amxx have FloatArray?
Reply With Quote #1

i can use
new FloatArray:array;

but...how to get/save??

Last edited by 0920357689; 12-30-2010 at 15:57.
0920357689 is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 12-30-2010 , 16:09   Re: amxx have FloatArray?
Reply With Quote #2

Code:
new Float:array[3] // save array[0] = 0.1 array[1] = 2.3 array[2] = 99.4 //get if( array[1] == 2.3 ) {}
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
0920357689
Senior Member
Join Date: Apr 2008
Old 12-30-2010 , 16:30   Re: amxx have FloatArray?
Reply With Quote #3

i know this
but i need dele array[0] << the first one array
and auto dropdown array

so if not dynamic array
i need count have how many and loop to dropdown..
look like ArrayDeleteItem ( Array:which, item )

Last edited by 0920357689; 12-30-2010 at 16:33.
0920357689 is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 12-30-2010 , 17:28   Re: amxx have FloatArray?
Reply With Quote #4

I don't understand.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
0920357689
Senior Member
Join Date: Apr 2008
Old 12-30-2010 , 18:43   Re: amxx have FloatArray?
Reply With Quote #5

Code:
 
for(new i=0; i< size;i++)
{
   time[i] = time[i+1]
}
All array beyond it get shifted down 1 space.
0920357689 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-30-2010 , 20:08   Re: amxx have FloatArray?
Reply With Quote #6

In one cell dynamic arrays you can use floats or integers, no matter.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply


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 02:10.


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