Jump to content

* اصلأح كود -


Recommended Posts

سلام عليكم

اصلاح الكود

يجي بس ل الي ظغط الزر انا ابيه يجي ل الاعب الي محدد ب القريد ليست

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

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