zero00 Posted September 8, 2023 Share Posted September 8, 2023 I want if I press hud dutyadmin to change skin How do it https://j.top4top.io/p_2807xmwjt1.png and i cant get old skin how do it plz help function adminDutyAdmin(thePlayer) if exports.integration:isPlayerTrialAdmin(thePlayer) then local adminduty = getElementData(thePlayer, "duty_admin") local username = getPlayerName(thePlayer) if not getElementData ( thePlayer, "duty_admin" ) then setElementData( thePlayer, "duty_admin", true ) outputAdminMessage("online"..getPlayerName(thePlayer).." admin") setElementModel(thePlayer, 217) elseif getElementData ( thePlayer, "duty_admin" ) then setElementData( thePlayer, "duty_admin", false ) outputAdminMessage("offline "..getPlayerName(thePlayer).." admin") return setElementModel(thePlayer, 186) end end end addCommandHandler("adminDuty", adminDutyAdmin) addCommandHandler("ad", adminDutyAdmin) 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