function MostrarBlip (thePlayer) --/ ADICIONADO thePlayer
local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) --/ ALTERADO - source > thePlayer
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Lixeiro") ) then --/ ALTERADO
if setElementVisibleTo(Blip, root, false) == true then
setElementVisibleTo(Blip, root, true)
outputChatBox(" ", source)
outputChatBox("#00ff00[Trabalho Lixeiro] #ffffffFoi marcado a localização em seu gps",source, 255,255,255, true)
outputChatBox(" ", source)
else
setElementVisibleTo(Blip, root, false)
outputChatBox(" ", source)
outputChatBox("#00ff00[Trabalho Lixeiro] #ffffffFoi desmarcado a localização em seu gps",source, 255,255,255, true)
outputChatBox(" ", source)
end
else
outputChatBox(" ", source)
outputChatBox("#00ff00[Trabalho Lixeiro] #ffffffVocê não trabalha no emprego de Lixeiro",source, 255,255,255, true)
outputChatBox(" ", source)
end
end
addCommandHandler("infolixeiro", MostrarBlip)
Fiz algumas alterações, testei no meu servidor e o problema parou.