Jump to content

Recommended Posts

( SERVER SIDE )

  1. function taxx(thePlayer)
  2.     local accName = getAccountName ( getPlayerAccount (thePlayer) )
  3.     if aclGroupAddObject (aclGetGroup("Taxista"), "user."..accName) then
  4.         outputChatBox("Added",thePlayer,255,255,255,true)
  5. end
  6. end
  7. addEvent("trabtax", true)
  8. addEventHandler("trabtax", root, taxx)
  9.  
  10. ( CLIENT SIDE )
  11.  
  12. function TrabTaxista (_,state)
  13. if painel == true then
  14. if ( state == "down" ) then
  15. if ( isCursorOnElement(615, 224, 128, 32)) then
  16.     removeEventHandler("onClientRender", root, Dx)
  17.     showCursor(false)
  18.     outputChatBox("Agora é taxista",255,255,255,true)
  19.     painel = false
  20.     triggerClientEvent ("trabtax", getLocalPlayer())
  21. end
  22. end
  23. end
  24. end
  25. addEventHandler ("onClientClick", root, TrabTaxista)

Não está adicionando na Acl... qual o erro

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...