Jump to content

small help pls


Best-Killer

Recommended Posts

function hack () 
if antispam == true then 
setElementFrozen(localPlayer,true) 
setPedAnimation(localPlayer,"ROB_BANK","CAT_Safe_Open") 
setTimer(setPedAnimation,3000,1,localPlayer,false) 
setTimer(setElementFrozen,3000,1,localPlayer,false) 
showCursor(false) 
triggerServerEvent ( "give", localPlayer ) 
antispam = false 
time = setTimer(function() antispam = true end,30000,1) 
else 
if antispam == false then 
getTime= getTimerDetails(time) 
exports.SAEGMessages:sendClientMessage("You must to wait "..math.floor(getTime/1000).."scounds to hack again",source,255,0,0) 
end 
end 
end 

it's showing : you must to wait 30 scounds to hack again

i want it : you mus to wait 180 secounds to hack again

Link to comment
function hack () 
    if antispam == true then 
       setElementFrozen(localPlayer,true) 
       setPedAnimation(localPlayer,"ROB_BANK","CAT_Safe_Open") 
       setTimer(setPedAnimation,3000,1,localPlayer,false) 
       setTimer(setElementFrozen,3000,1,localPlayer,false) 
       showCursor(false) 
       triggerServerEvent ( "give", localPlayer ) 
       antispam = false 
       time = setTimer(function() antispam = true end,180000,1) 
    else 
        if antispam == false then 
           getTime= getTimerDetails(time) 
           exports.SAEGMessages:sendClientMessage("You must to wait "..math.floor(getTime/1000).."scounds to hack again",source,255,0,0) 
        end 
    end 
end 
  

Link to comment
Stolen?

lol how u can know my code is solten ?? -.-

function hack () 
    if antispam == true then 
       setElementFrozen(localPlayer,true) 
       setPedAnimation(localPlayer,"ROB_BANK","CAT_Safe_Open") 
       setTimer(setPedAnimation,3000,1,localPlayer,false) 
       setTimer(setElementFrozen,3000,1,localPlayer,false) 
       showCursor(false) 
       triggerServerEvent ( "give", localPlayer ) 
       antispam = false 
       time = setTimer(function() antispam = true end,180000,1) 
    else 
        if antispam == false then 
           getTime= getTimerDetails(time) 
           exports.SAEGMessages:sendClientMessage("You must to wait "..math.floor(getTime/1000).."scounds to hack again",source,255,0,0) 
        end 
    end 
end 
  

Thanks u karim

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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