Scripting Posted March 30, 2012 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 )
Cadu12 Posted March 30, 2012 Posted March 30, 2012 addCommandHandler("give", function (player) local ID = getElementData (player, "ID") executeCommandHandler("add", player, ID) end ) Ingame nick: Cadu12
X-SHADOW Posted March 30, 2012 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 ? My ingame nickname : Ops! -DeathMatch GameMode By Ops! : 5%
top sniper Posted March 31, 2012 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 ================================================================== ~|منٌ رأيّتُموِۂ يّعتُدُيّ على عرض فُتُٱة مؤمنٌة فُٱسًحًقَوِوِوِوِوِوِوِة|~ ==================================================================
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