mcer Posted June 19, 2013 Posted June 19, 2013 I mean how to make a function and an event "Triggered" on serverside only appears for one user and not for everyone. (Can't be clientside).
Moderators IIYAMA Posted June 20, 2013 Moderators Posted June 20, 2013 It depends what you want to make. Be more specific. You mean something like this? addEvent("myEvent",true) addEventHandler("myEvent",root, function (x,y,z) if isElement(source) then -- make sure the player does still exist before the data reached the server. setElementPosition (source,x,y,z) end end)
mcer Posted June 20, 2013 Author Posted June 20, 2013 I want to use the "Setpedanimation" in server side, but for a specific user only (The user who has less than 20 blood).
Castillo Posted June 20, 2013 Posted June 20, 2013 Loop all players, check their health, if is lower than 20%, set the animation.
mcer Posted July 1, 2013 Author Posted July 1, 2013 Loop all players, check their health, if is lower than 20%, set the animation. Oh, sorry i never reply this... Thanks!
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