I'm using Powerful Ini File Management To read the game player settings out of an INI file.
But i'm have some troubles by using the vk_(key). how could I solve this?
The error he gives: it don't chance the string into an ASCII code which GM could use as an command. instand it returns it into 0.
global.keyRunning_get=rini_read_string(settings,"GAMEPLAY_SET","Run",vk_shift);
global.keyMovement_jump_get=rini_read_string(settings,"GAMEPLAY_SET","Jump",vk_space);
global.keyChat_get=rini_read_string(settings,"GAMEPLAY_SET","Chat","Y");
global.keyScore_display_get=rini_read_string(settings,"GAMEPLAY_SET","Score_display",vk_tab);
EDIT
[Solved]
changed the rini_read_string into rini_read_real.
Edited by Aragon, 27 May 2011 - 07:02 AM.











