belle_delphine.py
Active member
so i have this script >
my .ini looks like this >
the problem is that when i test it, it cant find "CLEO\autocmdsender.ini", and jumps to "@Error", although they are placed in ...\CLEO, and idk why
Rich (BB code):
{$CLEO .cs}
//-------------MAIN---------------
0662: printstring "Shitty autocmdsender"
thread 'AUTOCMDSENDER'
:GETINFO
wait 0
if
0AAB: file_exists "CLEO\autocmdsender.ini"
else_jump @ERROR
0AF0: 0@ = get_int_from_ini_file "CLEO\autocmdsender.ini" section "DELAY" key "MILISECONDS"
0AF4: 1@v = read_string_from_ini_file "CLEO\autocmdsender.ini" section "COMMAND" key "TYPE"
:MAIN
wait 0
if and
056D: actor $PLAYER_ACTOR defined
0256: player $PLAYER_CHAR defined
else_jump @MAIN
WHILE TRUE
wait 0
0AF9: samp say_msg "%s" 1@v
wait 0@
:ERROR
wait 0
0ACD: show_text_highpriority "~B~FILE MISSING : '~R~Autocmdsender.ini~B~'" time 2500
0A93: end_custom_thread
my .ini looks like this >
Rich (BB code):
[DELAY]
MILISECONDS=10000
[COMMAND]
TYPE=test123
the problem is that when i test it, it cant find "CLEO\autocmdsender.ini", and jumps to "@Error", although they are placed in ...\CLEO, and idk why