yoya99 Posted October 5, 2014 Posted October 5, 2014 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 And the snail starts to sing
John Smith Posted October 5, 2014 Posted October 5, 2014 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 ) If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
yoya99 Posted October 5, 2014 Author Posted October 5, 2014 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) And the snail starts to sing
yoya99 Posted October 5, 2014 Author Posted October 5, 2014 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.... And the snail starts to sing
xeon17 Posted October 6, 2014 Posted October 6, 2014 Where did you get this resource? A unique GangWar gamemode waiting for you!Click here for more information.
yoya99 Posted October 6, 2014 Author Posted October 6, 2014 I got it 2 months ago from someone And the snail starts to sing
DeVo Posted October 6, 2014 Posted October 6, 2014 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 I wrote nothing. Nothing.
xeon17 Posted October 6, 2014 Posted October 6, 2014 I got it 2 months ago from someone The same code |-Zares-| posted before three days. A unique GangWar gamemode waiting for you!Click here for more information.
John Smith Posted October 6, 2014 Posted October 6, 2014 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 If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
Recommended Posts