Raised This Month: $ Target: $400
 0% 

Array Module Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 03-05-2006 , 21:27   Array Module Help
Reply With Quote #1

I have the Array module for 1.65, I am running AMXX 1.70 Windows. I believe the module would work since 1.65 was skipped over. But with assuming it would work, I was wondering how the keytable functions would work. I checked out the .inc file, but it was not very detailed on each function. I want to use these:

Code:
/**\ =========================================================================================== \**/
//                                 Keytable Creation and Management
/**\ =========================================================================================== \**/

native keytable_create  (startid = 0,                                       reserveid = 0);
native keytable_delete  (keytable);
native keytable_clear   (keytable);

native keytable_save(keytable, filename[],                                  disable_check = 0);
native keytable_load(filename[], keytable = 0,                              reserve_id = 0);

native keytable_save_ascii(inputkeytable[], outputkeytable[]);

native keytable_memory(keytable,                                            disable_check = 0);

/**\ =========================================================================================== \**/
//                                         Keytable Editing
/**\ =========================================================================================== \**/

native keytable_remove(keytable, const key[]);

native keytable_set_int(keytable, const key[], value,                       disable_check = 0);
native keytable_get_int(keytable, const key[],                              disable_check = 0);
native keytable_set_string(keytable, const key[], value[],                  disable_check = 0);
native keytable_get_string(keytable, const key[], ret_value[], ret_length,  disable_check = 0);

native keytable_set_vector(keytable, const key[], Float:value[3],           disable_check = 0);
native keytable_get_vector(keytable, const key[], Float:value[3],           disable_check = 0);


native          keytable_set_float(keytable, const key[], Float:value,      disable_check = 0);
native Float:   keytable_get_float(keytable, const key[],                   disable_check = 0);

/**\ =========================================================================================== \**/
//                                        Keytable Searching
/**\ =========================================================================================== \**/

native keytable_isempty (keytable, const key[],                             disable_check = 0);
native keytable_isfilled(keytable, const key[],                             disable_check = 0);

//Return string will be "dne" if an error occured.
//It is possible to pass the same key to key[] and retr_string[], the key will be overwritten.
native keytable_next    (keytable, const key[], retr_string[], retr_length, disable_check = 0);
native keytable_first   (keytable, const key[], retr_string[], retr_length, disable_check = 0);
native keytable_prev    (keytable, const key[], retr_string[], retr_length, disable_check = 0);
native keytable_last    (keytable, const key[], retr_string[], retr_length, disable_check = 0);
Any help would greatly be appriaciated.
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
 


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 20:21.


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