Jump to content

مشكله ب مؤشر الماوس


Recommended Posts

اسلام عليكم

انا كل ما اسوي سكربت و احط فيه اخفاء الماوس و مثلا اجي اضغط الزر المؤشر ما يختفي وش الحل و ب كل سكربت يصير معي كذا و ذا كود ك مثال

addEventHandler( "onClientGUIClick", resourceRoot, function(  ) 
  if ( source ==  GUIEditor_Button[1] ) then 
  showCursor(false) 
  guiSetVisible (xxxx, false) 
         triggerServerEvent( "PlayerTeam", localPlayer ) 
         elseif ( source ==  GUIEditor_Button[2]) then 
         showCursor(false) 
         guiSetVisible (xxxx, false) 
       end 
end ) 

Link to comment

addEventHandler( "onClientGUIClick", resourceRoot, function(  ) 
  if ( source ==  GUIEditor_Button[1] ) then 
      guiSetVisible ( xxxx, false ) 
      showCursor ( guiGetVisible ( xxxx ) ) 
      triggerServerEvent( "PlayerTeam", localPlayer ) 
  elseif ( source == GUIEditor_Button[2] ) then 
      guiSetVisible ( xxxx, false ) 
      showCursor ( guiGetVisible ( xxxx ) ) 
   end 
end ) 
Link to comment
addEventHandler( "onClientGUIClick", resourceRoot, function(  ) 
  if ( source ==  GUIEditor_Button[1] ) then 
      guiSetVisible ( xxxx, false ) 
      showCursor ( guiGetVisible ( xxxx ) ) 
      triggerServerEvent( "PlayerTeam", localPlayer ) 
  elseif ( source == GUIEditor_Button[2] ) then 
      guiSetVisible ( xxxx, false ) 
      showCursor ( guiGetVisible ( xxxx ) ) 
   end 
end ) 

ما زبط -_-

Link to comment
  • Other Languages Moderators

إذا كنت مستخدم الفنكشن ذا

guiSetInputEnabled 

false تأكد انك حطيته

لان الفنكشن ذا يطلع الماوس بالمناسبة

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