Jump to content

Timers question


Darky

Recommended Posts

Posted

is correct ?

    function StopMyTime( ) 
       if isTimer(MyTime) then 
    killTimer ( MyTime) 
    end 
    end 
    addEventHandler("onPlayerWasted", getLocalPlayer(), StopMyTime) 

Posted
is correct ?

    function StopMyTime( ) 
       if isTimer(MyTime) then 
    killTimer ( MyTime) 
    end 
    end 
    addEventHandler("onPlayerWasted", getLocalPlayer(), StopMyTime) 

No it's not the event :

getLocalPlayer = client only and the event server side hmmm... you're timer client or server sided?

Posted (edited)

client side

EDIT:

i fixed it , was my fail, i remember i need to use

onClientPlayerWasted

thanks for your help

Edited by Guest

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