Jump to content
Sign in to follow this  
Rendril

Function: Mds_Location_Visits

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

Share this post


Link to post
Share on other sites

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...
Sign in to follow this  

  • Forum Statistics

    15,837
    Total Topics
    173,522
    Total Posts
  • Recently Browsing

    No registered users viewing this page.

  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews

×
×
  • Create New...