Jump to content

logo with players nametag


Recommended Posts

local screenWidth,screenHeight = guiGetScreenSize()  


function renderDisplay ( )
	local streamedPlayers = getElementsByType ("player", root, true)
	if streamedPlayers and #streamedPlayers ~= 0 then
		local lpos = {getElementPosition(localPlayer)}
		for _,p in ipairs (streamedPlayers) do
			if p and isElement (p) then
				if getElementData (p, "invincible") then
					local ppos = {getElementPosition(p)}
	 dxDrawImage(520, 250, 50, 50, 'logo.png', getTickCount() / 36 % 360) 
end
end     
end
end 		  
end

function HandleTheRendering ( )
	addEventHandler("onClientRender", root, renderDisplay)
	end
addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering)

How I can draw a logo with player nametag when you enable safe mode

it will be visible to all the player.

Nametag : https://community.multitheftauto.com/index.php?p=resources&s=details&id=13923

 

Sorry for my English...

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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