MauricioBoyPern Posted September 16, 2019 Share Posted September 16, 2019 function darSkin (thePlayer) local nomeAcc = getAccountName (getPlayerAccount (thePlayer)) if isObjectInACLGroup ("user."..nomeAcc, aclGetGroup("EB")) then else outputChatBox ("Somente membros do #00BB00Exercito Brasileiro#FF0000 podem pegar a skin!", thePlayer, 255, 0, 0, true) end end addEventHandler ("onMarkerHit", darSkin) Link to comment
Lachuks Posted September 17, 2019 Share Posted September 17, 2019 So use this https://wiki.multitheftauto.com/wiki/OnMarkerLeave I dont rly understand wth u want. Please be more specific. What is more, u used wrong section. Link to comment
Furzy Posted September 17, 2019 Share Posted September 17, 2019 addEventHandler is wrong it would be addEventHandler("onMarkerHit",root,darSkin) Link to comment
DNL291 Posted September 17, 2019 Share Posted September 17, 2019 You could've figured the problem if you used /debugscript 3. Topic moved, @MauricioBoyPern 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