Ir para conteúdo

brunodecastro1993

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Curtir
    brunodecastro1993 deu reputação a Vodkart em Zerar uma Storage de todos no global save   
    local shutdownAtServerSave = true local cleanMapAtServerSave = false local function serverSave()     if shutdownAtServerSave then         Game.setGameState(GAME_STATE_SHUTDOWN)     else         Game.setGameState(GAME_STATE_NORMAL)     end     if cleanMapAtServerSave then         cleanMap()     end     saveServer() end local function thirdServerSaveWarning()     local storage = 986     Game.broadcastMessage('The Server now is closed!', MESSAGE_STATUS_WARNING)     Game.setGameState(GAME_STATE_CLOSED)     db.executeQuery("DELETE FROM `player_storage` WHERE `key` = "..storage)     addEvent(serverSave, 60000) end local function secondServerSaveWarning()     Game.broadcastMessage('The Server will be closed in one minute. See you tomorrow!', MESSAGE_STATUS_WARNING)     addEvent(thirdServerSaveWarning, 60000) end local function firstServerSaveWarning()     Game.broadcastMessage('The Server will be closed in 3 minutes. Please go to a safe place.', MESSAGE_STATUS_WARNING)     addEvent(secondServerSaveWarning, 120000) end function onTime(interval)     Game.broadcastMessage('The Server will be closed in 5 minutes. Please go to a safe place.', MESSAGE_STATUS_WARNING)     Game.setGameState(GAME_STATE_STARTUP)     addEvent(firstServerSaveWarning, 120000)     return not shutdownAtServerSave end
  2. Curtir
    brunodecastro1993 deu reputação a antharaz em Pagamento ao passar por sqm.   
  3. Curtir
    brunodecastro1993 deu reputação a Enzo Caue em Znote Shop   
    O Znote tem o seu próprio.
    https://github.com/Znote/ZnoteAAC/tree/master/LUA
     
    Dê uma olhada e veja qual se encaixa em seu tfs.

Informação Importante

Confirmação de Termo