QBDU07
Sergeant

hellllo , i have a problem when i compil
I add it to my module script to deploy my scene props
and i error :
what is a problem ?? thanks
I add it to my module script to deploy my scene props
插入代码块:
("cf_construct_barricade",
[(store_script_param_1, ":user_agent"),
(agent_get_position, pos1, ":user_agent"),
(position_move_y, pos1,60),
(set_spawn_position, pos1),
(try_begin),
(multiplayer_is_server),
(spawn_scene_prop, "spr_village_house_e"),
(try_end),
and i error :
插入代码块:
Exporting quest data...
Exporting info_page data...
Exporting scripts...
Traceback (most recent call last):
File "process_scripts.py", line 40, in <module>
save_scripts(variables,variable_uses,scripts,tag_uses,quick_stri
File "process_scripts.py", line 19, in save_scripts
save_statement_block(file,convert_to_identifier(func[0]), 0,func
e_list,variable_uses,tag_uses,quick_strings)
File "C:\Users\QB\Desktop\qb\Module_system 1.134\process_operation
449, in save_statement_block
save_statement(ofile,opcode,no_variables,statement,variable_list
es,local_vars, local_var_uses,tag_uses,quick_strings)
File "C:\Users\QB\Desktop\qb\Module_system 1.134\process_operation
398, in save_statement
ofile.write("%d %d "%(opcode, lenstatement))
TypeError: %d format: a number is required, not str
Exporting mission_template data...
Exporting game menus data...
exporting simple triggers...
exporting triggers...
what is a problem ?? thanks

