Jump to content
  • 0
eKoh

How to detect that a player leaves a map?

Question

4 answers to this question

Recommended Posts

  • 0

Not yet to the best of my knowledge, unless you place a script loop on the player and keep polling till you detect it's no longer on the map (note: highly inefficient)

Share this post


Link to post
Share on other sites
  • 0
OnPCLoadMapEvent:	if(lastmap$!="" && strcharinfo(3)!=lastmap$) {		player leaves a map 	}	lastmap$ = strcharinfo(3); end;
Edited by Angelmelody

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.