Jump to content

Proplem in GetElementData


HustraDev

Recommended Posts

Posted

        local team = 'Army'  
if getElementData(localPlayer,'Team') == team then 
    guiSetVisible ( armyimg, true ) 
end 

-- client Side

i need the code to show img in gui if the Team = Army

Thnx

Sorry For Bad English :?

Posted

Is the data really 'Army'? Maybe you should do a small debugline under local team;

outputDebugString ( getElementData ( localPlayer, 'Team' ) ) 

Posted
Is the data really 'Army'? Maybe you should do a small debugline under local team;
outputDebugString ( getElementData ( localPlayer, 'Team' ) ) 

Same problem !

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