IIIXJokerXIII
New Member
I made a script that saves a variable I called "player_DeathTimeTick = 0" and I need this amount to be saved on server restart or player logoff. Does anyone know how to save a variable I crated to the dayz player database? I've search but I've not found anything that has worded for me yet.
Basically this is what I want
1. Script runs and sets player variable to something like player_DeathTimeTick = 15
2. player logs off or server resets player_DeathTimeTick is saved for that player in database.
3. player logs back on and the player_DeathTimeTick is set to the amount it was when player logged off.
Basically this is what I want
1. Script runs and sets player variable to something like player_DeathTimeTick = 15
2. player logs off or server resets player_DeathTimeTick is saved for that player in database.
3. player logs back on and the player_DeathTimeTick is set to the amount it was when player logged off.