What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Is there way set it auto logoff?

free2play

New Member
Joined
Jun 27, 2015
Messages
5
Reaction score
0
Might be missing it. But curious lets say your killed while planting. Can you set it logoff? I rarely leave things unattended. But sometimes be nice.
 
Might be missing it. But curious lets say your killed while planting. Can you set it logoff? I rarely leave things unattended. But sometimes be nice.

Something like a conditional setting that switches on when HP = 0, or something of the like?
 
Last edited:
Logout+ stop plugin:

if(!me.isAlive())
{
Log("I died, logging off ;(");
CloseGame();
StopPlugin("YourPluginFolderName\\YourPluginName.dll");
}



Alternative: Go to character screen + stop plugin

if(!me.isAlive())
{
Log("I died, going to character screen ;(");
LeaveWorldToCharacterSelect()();
StopPlugin("YourPluginFolderName\\YourPluginName.dll");
}
 
Last edited:
Back
Top