Initial upload
Initial upload
This commit is contained in:
37
_module/nss/tab_onrest.nss
Normal file
37
_module/nss/tab_onrest.nss
Normal file
@@ -0,0 +1,37 @@
|
||||
#include "asg_i_dbplayer"
|
||||
void main()
|
||||
{
|
||||
|
||||
|
||||
object oPlayer = GetLastPCRested();
|
||||
int dormo = GetLastRestEventType();
|
||||
|
||||
if ( dormo == REST_EVENTTYPE_REST_FINISHED && GetIsObjectValid(oPlayer) && GetIsPC(oPlayer) )
|
||||
{
|
||||
|
||||
SendMessageToPC(oPlayer,"Saving Your Inventory and Location...");
|
||||
PlayerDatabase("W",oPlayer);
|
||||
DelayCommand(0.3,ExportSingleCharacter(oPlayer));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user