xXMADEXx Posted February 1, 2013 Share Posted February 1, 2013 Hey, I'm making a VIP GUI panel, but i cannot get triggerServerEvent to work (go figure) any help? --client triggerServerEvent("rog:vip:gui:player:health",localplayer) --server addEvent("rog:vip:gui:player:health",true) addEventHandler("rog:vip:gui:player:health",root, function () setElementHealth(source,100) end ) Link to comment
DiSaMe Posted February 1, 2013 Share Posted February 1, 2013 Because localplayer is probably undefined, you probably meant localPlayer. Link to comment
xXMADEXx Posted February 1, 2013 Author Share Posted February 1, 2013 Because localplayer is probably undefined, you probably meant localPlayer. lol, noob mistake. 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