Scripting Posted March 30, 2012 Share Posted March 30, 2012 Don t work pls fix it server-side: addEvent("give",true) addEventHandler("give",root, function (player) local ID = getElementData (player, "ID") executeCommandHandler("add", player, ID) end ) Link to comment
Cadu12 Posted March 30, 2012 Share Posted March 30, 2012 addCommandHandler("give", function (player) local ID = getElementData (player, "ID") executeCommandHandler("add", player, ID) end ) Link to comment
X-SHADOW Posted March 30, 2012 Share Posted March 30, 2012 addCommandHandler("give", function (player) local ID = getElementData (player, "ID") executeCommandHandler("add", player, ID) end ) he maybe use it as a triggerServerSideEvent ? Link to comment
top sniper Posted March 31, 2012 Share Posted March 31, 2012 Don t work pls fix itserver-side: addEvent("give",true) addEventHandler("give",root, function (player) local ID = getElementData (player, "ID") executeCommandHandler("add", player, ID) end ) it will not work if you want to made add to game (BaseMode) you should give the (source) right to add him to game .. you can use: https://wiki.multitheftauto.com/wiki/AclGroupAddObject 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