Adham Posted April 19, 2016 Share Posted April 19, 2016 سلام عليكم شالمشكله هنا addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == kick ) then outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by "..getPalyerName" ", 0, 255, 0, true ) guiSetVisible(wnd,false) showCursor(false) end end) انا عملت لما اضعط علي زر يطلع لكلام بالشات وتقفل اللوحة ارجو عملها لما حطيط اكلود getplayername Link to comment
Abdul KariM Posted April 19, 2016 Share Posted April 19, 2016 outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by "..getPlayerName (localPlayer).. " ", 0, 255, 0, true ) Link to comment
Adham Posted April 19, 2016 Author Share Posted April 19, 2016 طيب لو ابي اعمل اكواد الوانو ما تظهر Link to comment
Abdul KariM Posted April 19, 2016 Share Posted April 19, 2016 string.gsub ( getPlayerName ( localPlayer ), "#%x%x%x%x%x%x", "" ) Link to comment
Adham Posted April 19, 2016 Author Share Posted April 19, 2016 شالخطا هنا طيب addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == kick ) then outputChatBox (#00ff00#[TeamsSysteam] Abdoi Added to team by getPlayerName ( localPlayer ), "#%x%x%x%x%x%x", "" ) guiSetVisible(wnd,false) showCursor(false) end end) Link to comment
Ahmed Ly Posted April 19, 2016 Share Posted April 19, 2016 addEventHandler("onClientGUIClick",root, function ( ) if ( source == kick ) then outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by "..getPlayerName (localPlayer).. " ", 0, 255, 0, true ) guiSetVisible(wnd,false) showCursor(false) end end ) Link to comment
Adham Posted April 19, 2016 Author Share Posted April 19, 2016 انا عاوز اكواد الاسم ما تظهر 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