Jump to content

Function: Mds_Location_Visits


Rendril

Recommended Posts

[b]int[/b] mds_location_visits(string $location)

[b]Parameters[/b]
$location can be 'current' or the coordinates of a location, for example '1_0x0_1'.

[b]Returns[/b]
Number of time player has been in the location.
Will return null if the location does not exist.


Example 1:
[code]
@vv = mds_location_visits('current');
echo "You have been here " .@vv ."times.";
[/code]

Example 2:
[code]
@vv = mds_location_visits('1_0x0_1');
echo "You have been to the Gazebo of Equilibrium " .@vv ."times.";
[/code]

Edited by Grido
seperated @vv from quote tags
Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Forum Statistics

    17.5k
    Total Topics
    182.5k
    Total Posts
  • Recently Browsing

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews

×
×
  • Create New...