Jump to content

Help Script killTimer


UsErFaiLed

Recommended Posts

Hello people would like someone helps me in this script the script the first function of time to do the command grab as another command to remove the time

There is KillTimer () can someone help me scripts Below

Google Translate!!

function timer (thePlayer) 
 if ( hasObjectPermissionTo ( thePlayer, "function.kickPlayer", false ) ) then 
      setElementData(thePlayer, "blood",999999999) 
      Timer = setTimer(setElementData,50,0,thePlayer, "brokenbone" , false ) 
      Timer = setTimer(setElementData,50,0,thePlayer, "pain" , false ) 
      Timer = setTimer(setElementData,50,0,thePlayer, "cold" , false )     
      Timer = setTimer(setElementData,50,0,thePlayer, "bleeding" , false )     
      Timer = setTimer(setElementData,50,0,thePlayer, "food" , 100 )   
      Timer = setTimer(setElementData,50,0,thePlayer, "thirst" , 100 )   
    end 
end 
addCommandHandler("ma" , timer ) 
  
function killtimer (thePlayer) 
   killTimer(Timer) 
end 
addCommandHandler("mp" , killtimer ) 

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...