iPrestege Posted May 9, 2013 Posted May 9, 2013 What about : isTimer then killTimer Event "onPlayerWasted"
Darky Posted May 9, 2013 Author Posted May 9, 2013 is correct ? function StopMyTime( ) if isTimer(MyTime) then killTimer ( MyTime) end end addEventHandler("onPlayerWasted", getLocalPlayer(), StopMyTime)
iPrestege Posted May 9, 2013 Posted May 9, 2013 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?
Darky Posted May 9, 2013 Author Posted May 9, 2013 (edited) client side EDIT: i fixed it , was my fail, i remember i need to use onClientPlayerWasted thanks for your help Edited May 9, 2013 by Guest
Guest Guest4401 Posted May 9, 2013 Posted May 9, 2013 Replace onPlayerWasted with onClientPlayerWasted.
iPrestege Posted May 9, 2013 Posted May 9, 2013 client sideEDIT: i fixed it , was my fail, i remember i need to use onClientPlayerWasted thanks for your help You're welcome .
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