Jump to content

Hacer que el invisible sea de tiempo


zudokuxD

Recommended Posts

addEvent("Invisible1 ",true) 
addEventHandler("Invisible1 ",root, 
function() 
local PlayerMoney = getPlayerMoney( source ) 
if ( PlayerMoney >=5000) then 
    takePlayerMoney(source, 5000) 
        setPlayerNametagShowing(source, false) 
        setElementAlpha(source, 0) 
        outputChatBox(" has bought invis $5000 !!!", 255, 255, 0, root) 
    else 
    outputChatBox("You Dont Have Money to buy invis",source) 
    end 
end) 

Link to comment
addEvent("Invisible1 ",true) 
addEventHandler("Invisible1 ",root, 
function Invi () 
local PlayerMoney = getPlayerMoney( source ) 
if ( PlayerMoney >=5000) then 
    takePlayerMoney(source, 5000) 
        setPlayerNametagShowing(source, false) 
        setElementAlpha(source, 0) 
        outputChatBox(" has bought invis $5000 !!!", 255, 255, 0, root) 
     setTimer(Invi, 1800000 ) 
    else 
    outputChatBox("You Dont Have Money to buy invis",source) 
    end 
end) 

SetTimer (Function, Tiempo.) Puedes leer más sobre SetTimer en https://wiki.multitheftauto.com/wiki/SetTimer

Link to comment
  • Recently Browsing   0 members

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