🗺️ map_CurrentPos()

Récupère la position actuelle du personnage sur la carte au format 'x,y'.

map_CurrentPos()

Map

Récupère la position actuelle du personnage sur la carte au format 'x,y'.

Paramètres

Aucun paramètre.

Valeur de retour

string - La position actuelle (format: x,y)

Exemple

function example_mapcurrentpos() -- Obtenir la position actuelle local pos = map_CurrentPos() global_SendLogs("Position : " .. pos, "Cyan") end -- Appeler la fonction example_mapcurrentpos()