Best-Killer Posted January 29, 2016 Share Posted January 29, 2016 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
KariiiM Posted January 29, 2016 Share Posted January 29, 2016 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
Best-Killer Posted January 29, 2016 Author Share Posted January 29, 2016 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
KariiiM Posted January 29, 2016 Share Posted January 29, 2016 lol how u can know my code is solten ?? -.- He is just asking. Link to comment
Best-Killer Posted January 29, 2016 Author Share Posted January 29, 2016 lol how u can know my code is solten ?? -.- He is just asking. ah ok Bonsai Sry bro Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now