NodZen Posted September 30, 2012 Posted September 30, 2012 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? ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Renkon Posted September 30, 2012 Posted September 30, 2012 local hours, faps = getTime() if ( hours >= 23 ) then
NodZen Posted September 30, 2012 Author Posted September 30, 2012 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? ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Recommended Posts