Jump to content

NameTags HELP !!


yoya99

Recommended Posts

Posted

hi there i have this naMETAG resource,but i only see bthe others names....how can i make it show my own name too??? here is the resource:

CODE REMOVED

Posted

replace ( from line 136 to line 144 with:)

addEventHandler('onClientResourceStart', g_Root, 
    function() 
        for i,player in ipairs(getElementsByType"player") do 
                nametag.create ( player ) 
            end 
        end 
) 

Posted

thx buddy....i have the next porblem...i want to create a system that symbols for admins,moderators and players are show.... how can i do it??? i have this here but it is not working:

function showImage() 
dxDrawImage() 
  
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Everyone" ) ) then 
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 0*scale, sy - imageSize, imageSize, imageSize, "player.png" ) 
                      end 
  
  
  
 if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then 
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 0*scale, sy - imageSize, imageSize, imageSize, "admin.png" ) 
                      end 
  
  
 if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Moderator" ) ) then 
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 0*scale, sy - imageSize, imageSize, imageSize, "moderator.png" ) 
                      end 
  
  
 if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
  
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 0*scale, sy - imageSize, imageSize, imageSize, "vip.png" ) 
                      end 
end 
addEventHandler("onClientResourceStart", resourceRoot, function() addEventHandler("onClientRender", root, showImage) end) 
  

Posted

Ah and a much important question...how can i make the nametags asign to the colorcodes...for example i have #ff0000 and in chat i see it as a red but in my own-showing nametag above the player head i see it normal color....

Posted
thx buddy....i have the next porblem...i want to create a system that symbols for admins,moderators and players are show.... how can i do it??? i have this here but it is not working:
function showImage() 
dxDrawImage() 
  
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Everyone" ) ) then 
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 0*scale, sy - imageSize, imageSize, imageSize, "player.png" ) 
                      end 
  
  
  
 if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then 
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 0*scale, sy - imageSize, imageSize, imageSize, "admin.png" ) 
                      end 
  
  
 if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Moderator" ) ) then 
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 0*scale, sy - imageSize, imageSize, imageSize, "moderator.png" ) 
                      end 
  
  
 if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then 
  
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 0*scale, sy - imageSize, imageSize, imageSize, "vip.png" ) 
                      end 
end 
addEventHandler("onClientResourceStart", resourceRoot, function() addEventHandler("onClientRender", root, showImage) end) 
  

You're using server side functions in client side.

You need to use,

  
triggerServerEvent 
triggerClientEvent 
  

Posted
I got it 2 months ago from someone

The same code |-Zares-| posted before three days.

They all stole it from grafuroam and cloned servers with names like

*name*-roam( his nick is maxiroam in here as well)

So yea its leaked script

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

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