The Qster 0 Posted July 10, 2021 I tried to make this script teleports player in random place in the zone, except designated zones. When I launch the action, I got "Error: type STRING, expected ARRAY, on index 0, in ['Respawn_Zone",50,500,5,0,45,0,["NO_1","NO_2","NO_3","NO_4"]. "NO_1" - 4 are the zones for the player not to teleport to. this addAction["<t color='#F5340B'>Rozpocznij Rozgrywkę</t>", { _pos = ["Respawn_Zone", 50, 500, 5, 0, 45, 0, ["NO_1", "NO_2", "NO_3", "NO_4"]] call BIS_fnc_findSafePos; {player setPos (getPos _pos)}; }]; I would be grateful for help. Share this post Link to post Share on other sites
sarogahtyp 1109 Posted July 10, 2021 first parameter of BIS_fnc_findSafePos has to be a position but you delivered a String. I guess Respawn_Zone is a marker name. If this is the case then this should work: _pos = [ (getMarkerPos "Respawn_Zone"), 50, 500, 5, 0, 45, 0, ["NO_1", "NO_2", "NO_3", "NO_4"]] call BIS_fnc_findSafePos; Share this post Link to post Share on other sites