' A F . Posted April 2, 2015 Share Posted April 2, 2015 سلام عليكم اصلاح الكود يجي بس ل الي ظغط الزر انا ابيه يجي ل الاعب الي محدد ب القريد ليست Client addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then nameplayer = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) name = getPlayerFromName(nameplayer) if name then local text = guiGetText ( GUIEditor.edit[2] ) setGameSpeed( text ) outputChatBox("* قام الاعب [ "..getPlayerName(source).." ] بزيادة السرعة الى [ "..text.." ] ",255,255,0,true ) else outputChatBox ( "يجب ان تختأر لاعب !", 255, 255, 0, true ) end end end ) Link to comment
jafar Posted April 2, 2015 Share Posted April 2, 2015 اعتقد بتضبط اذا استخدمت triggerEvent 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