Thank you for your help, but my problem is something else now, 2 days am trying to fix this and is stll there. I want something very simple, save your highscore when you die or finish the game and load it when you run the game. Your highest score, not your score... so i make it like this...
Is global variable "score" Greater than global('hiscore')
then
System: Set global variable 'hiscore' to global('score')
i made an .ini file that looks like this...
[hiscore]
score=0
in order to save/load the #$% highscore, so at the same moment follows...
INI:Write value global('hiscore') to item "score" in group "hiscore"
so far so good i can write in the ini file with the value i want, now to load it every time you run the game i made this...
Start of layout
System: Set global variable 'hiscore' to INI .ItemString("hiscore", "score")
and is working too, i can load the value from the ini file, but is not working together!!! I can save a value to the ini, i can load a value from the ini but when in my game the save and load action is together is not working, it loads the value but it can not save any new value later. Is like i have the load value action under an Always event and you cant change it.
Almost the only thing remains to finish my game is this.
My english is not very good, i hope you understand my problem. If more information is need it please let me know.
Thenk you all for your time and for your brain activity to solve my problem