Jump to content

Abdul KariM

Members
  • Posts

    2,711
  • Joined

  • Days Won

    42

Everything posted by Abdul KariM

  1. جرب كذا addEventHandler("onClientGUIClick",resourceRoot, function ( ) if source == GUIEditor.button[1] then if guiGetText( GUIEditor.edit[1] ) == "clr" then triggerServerEvent("Send_",localPlayer) end end end ) ; واطرح الميتا
  2. debugscript 3 وش يطلع به
  3. debugscript 3 وش يطلع به
  4. يب يب فكرة مره حلوه سويها لاهنت , نبي نشوف ابداعاتك
  5. يب يب فكرة مره حلوه سويها لاهنت , نبي نشوف ابداعاتك
  6. غير اسم الزر في سطر 4 وغير اسم الايدت في سطر 6
  7. غير اسم الزر في سطر 4 وغير اسم الايدت في سطر 6
  8. جرب كذا addEventHandler("onClientGUIClick",resourceRoot, function ( ) if source == bb then isClear = guiGetText( Edit ) if isClear == "clr" then triggerServerEvent("Send_",localPlayer) end end end ) ;
  9. جرب كذا addEventHandler("onClientGUIClick",resourceRoot, function ( ) if source == bb then isClear = guiGetText( Edit ) if isClear == "clr" then triggerServerEvent("Send_",localPlayer) end end end ) ;
  10. تأكد انك كتبت clr بالايدت وغير اسم الزر سطر 6 اذا ماضبط شوف وش يطلع لك بالدي بوق
  11. تأكد انك كتبت clr بالايدت وغير اسم الزر سطر 6 اذا ماضبط شوف وش يطلع لك بالدي بوق
  12. جرب كذا كلينت aClear = "clr" addEventHandler("onClientGUIClick",resourceRoot, function ( ) if source == bb then isClear = guiGetText( Edit ) if isClear == tostring ( aClear ) then triggerServerEvent("Send_",localPlayer) end end end ) ; سيرفر addEvent("Send_",true) addEventHandler("Send_",root, function ( ) for i , player in ipairs ( getElementsByType ("player") ) do triggerClientEvent ( player ,"Clear_G", player , getPlayerName ( source ) ) end end ) ; كلينت addEvent("Clear_G",true) addEventHandler("Clear_G",root, function ( TheName ) guiGridListClear ( GUIEditor.gridlist[1] ) rw = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1] , rw ,2,"Cleared By "..TheName.." ",false,false) end ) ;
  13. جرب كذا كلينت aClear = "clr" addEventHandler("onClientGUIClick",resourceRoot, function ( ) if source == bb then isClear = guiGetText( Edit ) if isClear == tostring ( aClear ) then triggerServerEvent("Send_",localPlayer) end end end ) ; سيرفر addEvent("Send_",true) addEventHandler("Send_",root, function ( ) for i , player in ipairs ( getElementsByType ("player") ) do triggerClientEvent ( player ,"Clear_G", player , getPlayerName ( source ) ) end end ) ; كلينت addEvent("Clear_G",true) addEventHandler("Clear_G",root, function ( TheName ) guiGridListClear ( GUIEditor.gridlist[1] ) rw = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1] , rw ,2,"Cleared By "..TheName.." ",false,false) end ) ;
  14. فهمنا طيب , كيف تبيه يمسحه درينا انه يكتب في الايدت , يعني لو ضغط زر والي مكتوب بالايدت clr يمسح القريد ليست ولا كيف
  15. فهمنا طيب , كيف تبيه يمسحه درينا انه يكتب في الايدت , يعني لو ضغط زر والي مكتوب بالايدت clr يمسح القريد ليست ولا كيف
  16. انت تبيها يوم يضغط زر ؟ ويجيب المكتوب بالايدت ويمسح القريد ؟ ولا كيف
  17. انت تبيها يوم يضغط زر ؟ ويجيب المكتوب بالايدت ويمسح القريد ؟ ولا كيف
  18. اجل استخدم الاكواد الي قلت لك عليها حقت , لو بغى يشتري سيارة
  19. اجل استخدم الاكواد الي قلت لك عليها حقت , لو بغى يشتري سيارة
  20. وين محاولتك بالايدت + عشان تجيب الي مكتوب بالايدت guiGetText
  21. وين محاولتك بالايدت + عشان تجيب الي مكتوب بالايدت guiGetText
  22. Client Cars = { {'Monster',9000,580}, {'Frary',10000,570}, } for i , v in ipairs ( Cars ) do Row = guiGridListAddRow ( grid ) guiGridListSetItemText( grid,Row ,1,v[1],false,false); guiGridListSetItemText( grid,Row ,2,v[2],false,false); guiGridListSetItemData ( grid , Row , 1 , v[3] ) end addEventHandler("onClientGUIClick",resourceRoot, function ( ) if source == btn then local Se = guiGridListGetSelectedItem( grid ) if Se and Se ~= -1 then local Money = guiGridListGetItemText ( grid, Se, 2 ) local iD = guiGridListGetItemData ( grid , Se , 1 ) triggerServerEvent ( "GiveVehicle",localPlayer , Money , iD ) end end end ) ; local table = { } addEvent("GiveVehicle" ,true) addEventHandler("GiveVehicle" ,root, function ( Money , id ) if isElement( table[ source ] ) then destroyElement ( table[ source] ) end local Money_ = getPlayerMoney ( source ) if Money_ >= tonumber ( Money ) then PosX , PosY , PosZ = getElementPosition ( source ) takePlayerMoney( source , tonumber ( Money ) ) table[ source ] = createVehicle( id , PosX , PosY , PosZ ) outputChatBox("* تم شراء الشخصيه",source ,0,255,0,false) else outputChatBox("* ليس لديك المال الكافي للشراء",source ,255,0,0,false) end end ) ; المفروض اي واحد بغى ينزل موضوع , يقول وش هدفه يتعلم البرمجة , ولا نعطيه الكود جاهز ويتوكل انا اشوف كذا افضل بكثير بالتوفيق
  23. Client Cars = { {'Monster',9000,580}, {'Frary',10000,570}, } for i , v in ipairs ( Cars ) do Row = guiGridListAddRow ( grid ) guiGridListSetItemText( grid,Row ,1,v[1],false,false); guiGridListSetItemText( grid,Row ,2,v[2],false,false); guiGridListSetItemData ( grid , Row , 1 , v[3] ) end addEventHandler("onClientGUIClick",resourceRoot, function ( ) if source == btn then local Se = guiGridListGetSelectedItem( grid ) if Se and Se ~= -1 then local Money = guiGridListGetItemText ( grid, Se, 2 ) local iD = guiGridListGetItemData ( grid , Se , 1 ) triggerServerEvent ( "GiveVehicle",localPlayer , Money , iD ) end end end ) ; local table = { } addEvent("GiveVehicle" ,true) addEventHandler("GiveVehicle" ,root, function ( Money , id ) if isElement( table[ source ] ) then destroyElement ( table[ source] ) end local Money_ = getPlayerMoney ( source ) if Money_ >= tonumber ( Money ) then PosX , PosY , PosZ = getElementPosition ( source ) takePlayerMoney( source , tonumber ( Money ) ) table[ source ] = createVehicle( id , PosX , PosY , PosZ ) outputChatBox("* تم شراء الشخصيه",source ,0,255,0,false) else outputChatBox("* ليس لديك المال الكافي للشراء",source ,255,0,0,false) end end ) ; المفروض اي واحد بغى ينزل موضوع , يقول وش هدفه يتعلم البرمجة , ولا نعطيه الكود جاهز ويتوكل انا اشوف كذا افضل بكثير بالتوفيق
×
×
  • Create New...