• Due to recent spam attacks that heavily used compormised accounts we did reset all user passwords, AGAIN, if it happens and your account got compromised again due to re-used passwords your account will be perma-banned.

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