Jump to content

outputChatBox visualization Admin


Dolinho

Recommended Posts

Everyone can see the chat, however what I want is that the outputChatBox appear only for Admin, Admin and who is not not aperecia.

I want to make a control accounts using the bank.

I want to see everyone but he can not see.

" outputChatBox visualization of all but only for admin"

sorry bad inglesh.

:cry:

if  getPlayerTeam(source) == getTeamFromName("Admin") then 
                theName = getPlayerName ( source ) 
                outputChatBox( "Info: Securit Acont Server Bank balance de: "..theName.." $ " .. tostring( playersAccount[ source ].balance ), root, 255, 255, 0 ) 
                end 

Link to comment

try no tested

if  getPlayerTeam(source) == getTeamFromName("Admin") then 
local theName = getPlayerName ( source ) 
outputChatBox( "Info: Securit Acont Server Bank balance de: "..theName.." $ " .. tostring( playersAccount[ source ].balance ), getPlayersInTeam(getTeamFromName("Admin")), 255, 255, 0 ) 
end 

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