xXMADEXx Posted February 1, 2013 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 ) The Ultimate Lua Tutorial! | MTA PHP SDK
DiSaMe Posted February 1, 2013 Posted February 1, 2013 Because localplayer is probably undefined, you probably meant localPlayer. -
xXMADEXx Posted February 1, 2013 Author Posted February 1, 2013 Because localplayer is probably undefined, you probably meant localPlayer. lol, noob mistake. The Ultimate Lua Tutorial! | MTA PHP SDK
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