ODutii Posted August 2, 2019 Posted August 2, 2019 ( SERVER SIDE ) function taxx(thePlayer) local accName = getAccountName ( getPlayerAccount (thePlayer) ) if aclGroupAddObject (aclGetGroup("Taxista"), "user."..accName) then outputChatBox("Added",thePlayer,255,255,255,true) end end addEvent("trabtax", true) addEventHandler("trabtax", root, taxx) ( CLIENT SIDE ) function TrabTaxista (_,state) if painel == true then if ( state == "down" ) then if ( isCursorOnElement(615, 224, 128, 32)) then removeEventHandler("onClientRender", root, Dx) showCursor(false) outputChatBox("Agora é taxista",255,255,255,true) painel = false triggerClientEvent ("trabtax", getLocalPlayer()) end end end end addEventHandler ("onClientClick", root, TrabTaxista) Não está adicionando na Acl... qual o erro
Other Languages Moderators Lord Henry Posted August 2, 2019 Other Languages Moderators Posted August 2, 2019 @ODutii já lhe foi avisado diversas vezes para usar o botão <> do fórum para postar códigos em vez de colar direto no texto.
Other Languages Moderators Lord Henry Posted August 2, 2019 Other Languages Moderators Posted August 2, 2019 Tópico duplicado deste: @ODutii não crie diversos tópicos com o mesmo assunto, permaneça naquele outro a não ser que tenha outra dúvida sem relação com aquele.
Recommended Posts