Jump to content
Sign in to follow this  
akvadakar

Kill player's unit when player disconnect

Recommended Posts

Hey,

I do not know how to kill the player's unit when the player disconnects in MP.

It would be cool to have it working in both dedicated & LAN servers.

I guess it should be something with the "local" command.

? _unit= _this select 0

~1

? not local _unit : exit

#check

~1

? local server : goto "kill"

goto "check"

#kill

_unit setdamage 1

exit

This does not work :j:

Share this post


Link to post
Share on other sites

Whoa I thought it would be much easier to create.

Thanks a lot Capjerahya!

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

×