function SAVE()
if getElementData ( source, "isPlayerJailed" ) then
if isTimer(JTime) then
getTimerDetails ( JTime )
setAccountData(getAccountName(source),----What do i write here to save ?
end
end
end
addEventHandler( "onPlayerQuit", root, SAVE)
Well, I tried and tried but i failed.
Can we save a running timer if a player quit then load it when he login?
Can we save the timer in his account data then load his data when he login?
Any solution to save a timer and load it onPlayerLogin?
I know why, because the OS of the host load it as ANSI while mta needs it as UTF-8. I change the code type and it is working. I'm using Notepad ++ and you are able to change it into UTF-8 then put it in the paid server.
https://community.multitheftauto.com/in ... ls&id=7851
https://community.multitheftauto.com/in ... ls&id=7852
https://community.multitheftauto.com/in ... ls&id=7850
All scripts are stolen, he just downloaded them and put them again. Please ban the user.
DONE
I want to delete my resources here, they are old.
--> https://community.multitheftauto.com/in ... ls&id=7672
--> https://community.multitheftauto.com/in ... ls&id=7465
DONE