Jump to content

Ayuda con getTime.


NodZen

Recommended Posts

Posted

Amigos , intente hacer para que cuando sean las 23:00 hora en el jeugo! , se cree un slothBot. miren

if ( not isElement ( slothBot ) ) then 
if ( getTime ( source ) >= 23 ) then--aca se spawnee el sloth. 
  

Tambien asi

if ( getTime >= 23 ) then 

Pero no funca. Ayuda? :)

Posted
local hours, faps = getTime()

if ( hours >= 23 ) then

ok , pero como le hago para que el resource "slothBot" se reinicie a las 23? Se que hay que usar

restartResource 

pero como le pongo para que sea el slothBot?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...