Jump to content

Hex problem


Recommended Posts

why i cant see the player color when i pm him

function thePM(thePlayer,commandName,sendToName,...)
	local pmWords = { ... }
	local pmMessage = table.concat( pmWords, " " )
	if sendToName then
		if getPlayerFromNamePart2(sendToName) then
		local toPlayer = getPlayerFromNamePart2(sendToName)
		local r,g,b = getPlayerNametagColor (toPlayer)
			if not (toPlayer == thePlayer) then --that () needed
				if not (pmMessage == "") then
					outputChatBox("#FC3986(Whisper) to " .. getPlayerName(toPlayer) .. ":#ffffff " .. pmMessage, thePlayer, r, g, b, true)

Part of my script

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...