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.
__________________