Hi Guys.Do you have any ideas how to get this script working with a dedicated server? (the Script solely teleports my character when I am on 'host-game ' server)
Mission templates
(0,0,0, [(key_clicked,key_m)],
[
(display_message,"@TELEPORT",0xFFFFAAFF),
(multiplayer_send_int_to_server,TP,130),
]),
Scripts
("game_receive_network_message",
[
(store_script_param, ":player_no", 1),
(store_script_param, ":event_type", 2),
...a Bunch of the scripts..
(else_try),
(eq,":event_type",TP,130), # the event is declared in header common
(player_is_active,":player_no"),
(player_is_admin,":player_no"),
(player_get_agent_id,":ag_id",":player_no"),
(agent_get_position,pos10,":ag_id"),
(position_move_y,pos10,299),
(agent_set_position,":ag_id",pos10),
(else_try),
...a Bunch of the scripts..
Thanks in advance.