How to detect that a player leaves a map?

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)

 
Code:
OnPCLoadMapEvent:	if(lastmap$!="" && strcharinfo(3)!=lastmap$) {		player leaves a map 	}	lastmap$ = strcharinfo(3); end;
 
Last edited by a moderator:
Back
Top