You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
799 B
25 lines
799 B
/// sv6_get_logs()
|
|
list = ds_list_create();
|
|
ds_list_read(list, base64_decode(file_text_read_string(argument0)));
|
|
i = 0;
|
|
j = 0;
|
|
if(!instance_exists(oClient)){
|
|
repeat (50) {
|
|
global.log[j] = readline();
|
|
global.newlog[j] = readline();
|
|
j += 1;
|
|
}
|
|
} else if(instance_exists(oClient) && global.lastroom == gameoverroom){
|
|
//don't reset values
|
|
} else if(instance_exists(oClient) && global.lastroom != gameoverroom && string_count("rm_a", room_get_name(global.lastroom)) == 0){
|
|
repeat (50) {
|
|
global.log[j] = readline();
|
|
global.newlog[j] = readline();
|
|
j += 1;
|
|
}
|
|
} else if(instance_exists(oClient) && global.lastroom != gameoverroom && string_count("rm_a", room_get_name(global.lastroom)) > 0){
|
|
//don't reset values
|
|
}
|
|
|
|
ds_list_clear(list);
|