AlexFreshTv Posted August 5, 2020 Share Posted August 5, 2020 (edited) Hello guys, i need help. I'm new in the development scene, i wanna know how i can do a marker over my head, when i'm in admin mode (if you are german, you can answer on german) open the Spoiler Spoiler function AdminManager:giveAdminMode(player) if player:isAdmin(1) then if player:getData("aduty") == false then player:setModel(260) player:sendNotification("Du bist nun im Admin-Duty", "success") player:setData("aduty", true) else player:setModel(player:getData("skinid")) player:sendNotification("Du bist nicht mehr im Admin-Duty", "error") player:setData("aduty", false) end end end How can i attach a marker over my head? Edited August 5, 2020 by AlexFreshTv Link to comment
AlexFreshTv Posted August 6, 2020 Author Share Posted August 6, 2020 attachElements()? but how can i do the marker and how can i destroy it, when i exit the adminmode? Link to comment
MTA Team 0xCiBeR Posted August 8, 2020 MTA Team Share Posted August 8, 2020 https://wiki.multitheftauto.com/wiki/AttachElements https://wiki.multitheftauto.com/wiki/DestroyElement + Element Datas to set status of admin mode https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/GetElementData 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