~Funky~ Posted November 19, 2013 Posted November 19, 2013 Hola a todos tengo este problema con el getTickCount, lo que pasa es que al aparecer al boss por el comando solo me sale el outputChatBox de que no se puede y nose que hacer :c local TiempoPr = 0 function Piromano() if ( getTickCount ( ) - TiempoPr == 5000 ) then Piro = exports [ "slothBot" ]:spawnBot ( 1203.3740234375, -2153.943359375, 62.104778289795, 90, math.random ( 300, 303 ), 0, 0, Piro, 37, "guarding", true ) exports.extra_health:setElementExtraHealth ( Piro, 1500 ) setElementModel ( Piro, 162 ) setElementAlpha ( Piro, 50) outputChatBox("EL PIROMANO A APARECIDO!",source,255,0,0,true) else outputChatBox("A Aparecido Un Boss Recientemente Debes Esperar 5 Segundos Para Un Respawn",source,255,0,0,true) end end addCommandHandler ( "aparecerpiromano", Piromano) Imagen : El Desbug no me manda nada :C
Castillo Posted November 19, 2013 Posted November 19, 2013 local TiempoPr = 0 function Piromano ( ) if ( getTickCount ( ) - TiempoPr == 5000 ) then Piro = exports [ "slothBot" ]:spawnBot ( 1203.3740234375, -2153.943359375, 62.104778289795, 90, math.random ( 300, 303 ), 0, 0, Piro, 37, "guarding", true ) exports.extra_health:setElementExtraHealth ( Piro, 1500 ) setElementModel ( Piro, 162 ) setElementAlpha ( Piro, 50) outputChatBox("EL PIROMANO A APARECIDO!",source,255,0,0,true) TiempoPr = getTickCount ( ) else outputChatBox("A Aparecido Un Boss Recientemente Debes Esperar 5 Segundos Para Un Respawn",source,255,0,0,true) end end addCommandHandler ( "aparecerpiromano", Piromano )
~Funky~ Posted November 20, 2013 Author Posted November 20, 2013 Solid Me Sigue Apareciendo lo De La Imagen :c
Renkon Posted November 20, 2013 Posted November 20, 2013 if ( getTickCount ( ) - TiempoPr == 5000 ) then por if ( getTickCount ( ) - TiempoPr > 5000 ) then
Recommended Posts