nony Posted October 11, 2012 Share Posted October 11, 2012 السلام عليكم ورحمه الله وبركاته يا شباب وش الخطأ في كود التيم؟ PlayerTeam = guiCreateLabel(10,135,300,20,'',false,GUIEditor_Tab[1]) guiLabelSetColor(PlayerTeam,255,255,0) addEventHandler("onClientRender",root, function() guiSetText(PlayerTeam,"Your Team : "..getTeamName(localPlayer) ) else guiSetText ( PlayerTeam, "Team: None" ) end) ومعليييش على كثره الاخطاء ان شاء الله اخر موضوع ^^ Link to comment
./BlackBird# Posted October 11, 2012 Share Posted October 11, 2012 PlayerTeam = guiCreateLabel(10,135,300,20,'',false,GUIEditor_Tab[1]) guiLabelSetColor(PlayerTeam,255,255,0) addEventHandler("onClientRender",root, function() local playerTeam1 = getPlayerTeam ( getLocalPlayer()) if ( playerTeam1 ) then guiSetText(PlayerTeam,"Your Team : "..getTeamName(localPlayer) ) else guiSetText ( PlayerTeam, "Team: None" ) end) Link to comment
3NAD Posted October 11, 2012 Share Posted October 11, 2012 PlayerTeam = guiCreateLabel(10,135,300,20,'',false,GUIEditor_Tab[1]) guiLabelSetColor(PlayerTeam,255,255,0) addEventHandler("onClientRender",root, function() local playerTeam1 = getPlayerTeam ( localPlayer ) if ( playerTeam1 ) then guiSetText ( PlayerTeam, "Your Team : ".. getTeamName( playerTeam1 ) ) else guiSetText ( PlayerTeam, "Team: None" ) end end ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now