Jump to content

طلب كود


Recommended Posts

Posted

انا عايز كود يخلى يظهر اسم التيم الى الاعب فيه فى labe

و كود عدد الاعبين الى فى التيم

GUIEditor_Label = {} 
  
  
  
GUIEditor_Label[1] = guiCreateLabel(9,10,221,47,"Your Team is :",false,GUIEditor_Image[1]) 

Posted
انا جربت ما اشتغلت ممكن تصحيح كود

guiSetText(GUIEditor_Label[1],"Your team is: "..getPlayerTeam(getLocalPlayer()))

انت استخدمت

getPlayerTeam 

لحالها ,

استخدم :

getTeamName 

وشوف المثال يمكن يسآعدك

Posted
local plrTeam = getPlayerTeam(getLocalPlayer()) -- فالبدآيه نجيب تيم الاعب 
if ( plrTeam ) then -- نتأكد اذا كآن معآه تيم او لا  
    guiSetText(GUIEditor_Label[1],"Your team is:   "..getTeamName(plrTeam)) -- نحط اسم التيم لاكن اي تيم ؟ التيم الي جلبآنه من الاعب 
end 

العدد نفس الفكره سويه بنفسك ماراح اسويه ,

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