Jump to content

Ja[B]er[X]Pro

Members
  • Posts

    779
  • Joined

  • Last visited

Everything posted by Ja[B]er[X]Pro

  1. كود اعطاء درع يجب يكون سيرفر
  2. كود اعطاء درع يجب يكون سيرفر
  3. اسف ان رفعت الموضوع لكن لدي طريقة افضل روح عند كود فتح اللوحة بزر وضيف به guiGridListClear()
  4. اسف ان رفعت الموضوع لكن لدي طريقة افضل روح عند كود فتح اللوحة بزر وضيف به guiGridListClear()
  5. : | وش يلي يضحك ؟ مدري : |
  6. : | وش يلي يضحك ؟ مدري : |
  7. ضع جزء استقبال الترايقرات في الكلينت
  8. ضع جزء استقبال الترايقرات في الكلينت
  9. اسف لكن كودك هريسة ID بالترايقر ما هي معرفة table[source] ما تحتاجه createVehicle( id , PosX , PosY , PosZ ) الي فهمته بانك وضعت له مكان يضع الايدي + الاحداثيات لكن هو يبي تيجي بمكانه ويبي ايضاً يكون راكبها لذلك تحتاج warpPedIntoVehicle getElementPosition
  10. اسف لكن كودك هريسة ID بالترايقر ما هي معرفة table[source] ما تحتاجه createVehicle( id , PosX , PosY , PosZ ) الي فهمته بانك وضعت له مكان يضع الايدي + الاحداثيات لكن هو يبي تيجي بمكانه ويبي ايضاً يكون راكبها لذلك تحتاج warpPedIntoVehicle getElementPosition
  11. تفضل اخي --client GUIEditor.window[1] = guiCreateWindow(420, 190, 361, 182, "Test", false) guiWindowSetSizable(GUIEditor.window[1], false) give = guiCreateButton(21, 47, 93, 33, "Give Car", false, GUIEditor.window[1]) take = guiCreateButton(134, 47, 93, 33, "Destroy Car", false, GUIEditor.window[1]) kill = guiCreateButton(247, 47, 93, 33, "Slap", false, GUIEditor.window[1]) health = guiCreateButton(21, 123, 93, 33, "100 Health", false, GUIEditor.window[1]) armor = guiCreateButton(134, 123, 93, 33, "100 Armor", false, GUIEditor.window[1]) fly = guiCreateButton(247, 123, 93, 33, "Fly Car", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",root, function localplayer() if source == health then setElementHealth(localplayer,100) outputChatBox("Done 100 Health",localplayer,255,24,21,true) end end ) addEventHandler("onClientGUIClick",root, function localplayer() if source == armor then setPedArmor(localplayer,100) outputChatBox("Done give armor Happy",localplayer,255,254,24,true) end end ) addEventHandler("onClientGUIClick",root, function localplayer() if source == kill then setElementHealth(localplayer,100) outputChatBox("Done Kill",localplayer,255,24,21,true) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function localplayer() if source == fly then setWorldSpecialPropertyEnabled (localplayer,"aircars", true ) outputChatBox("You Can Fly know !!",localplayer,253,35,32) end end ) addEventHandler("onClientGUIClick",root,function() if source == take then if isPedInVehicle ( localPlayer ) then destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end end ) addEventHandler("onClientGUIClick",root,function() if (source == give) then triggerServerEvent ( "GiveVehicle",localPlayer) end end) --server addEvent("GiveVehicle",true) addEventHandler("GiveVehicle",root,function() local x,y,z = getElementPosition(localPlayer) local vehicle = createVehicle(ID,x,y,z) warpPedIntoVehicle(localPlayer,vehicle) end)
  12. تفضل اخي --client GUIEditor.window[1] = guiCreateWindow(420, 190, 361, 182, "Test", false) guiWindowSetSizable(GUIEditor.window[1], false) give = guiCreateButton(21, 47, 93, 33, "Give Car", false, GUIEditor.window[1]) take = guiCreateButton(134, 47, 93, 33, "Destroy Car", false, GUIEditor.window[1]) kill = guiCreateButton(247, 47, 93, 33, "Slap", false, GUIEditor.window[1]) health = guiCreateButton(21, 123, 93, 33, "100 Health", false, GUIEditor.window[1]) armor = guiCreateButton(134, 123, 93, 33, "100 Armor", false, GUIEditor.window[1]) fly = guiCreateButton(247, 123, 93, 33, "Fly Car", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",root, function localplayer() if source == health then setElementHealth(localplayer,100) outputChatBox("Done 100 Health",localplayer,255,24,21,true) end end ) addEventHandler("onClientGUIClick",root, function localplayer() if source == armor then setPedArmor(localplayer,100) outputChatBox("Done give armor Happy",localplayer,255,254,24,true) end end ) addEventHandler("onClientGUIClick",root, function localplayer() if source == kill then setElementHealth(localplayer,100) outputChatBox("Done Kill",localplayer,255,24,21,true) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function localplayer() if source == fly then setWorldSpecialPropertyEnabled (localplayer,"aircars", true ) outputChatBox("You Can Fly know !!",localplayer,253,35,32) end end ) addEventHandler("onClientGUIClick",root,function() if source == take then if isPedInVehicle ( localPlayer ) then destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end end ) addEventHandler("onClientGUIClick",root,function() if (source == give) then triggerServerEvent ( "GiveVehicle",localPlayer) end end) --server addEvent("GiveVehicle",true) addEventHandler("GiveVehicle",root,function() local x,y,z = getElementPosition(localPlayer) local vehicle = createVehicle(ID,x,y,z) warpPedIntoVehicle(localPlayer,vehicle) end)
  13. عمل رائع وجميل جداً واصل يا مبدع بالتوفيق ،
  14. عمل رائع وجميل جداً واصل يا مبدع بالتوفيق ،
  15. انا اسف ما انتبهت لردك +++ الكل يساعد هنا حد يساعد بموضوعي هههههه https://forum.multitheftauto.com/viewtopic.php?f ... 9&start=15
  16. انا اسف ما انتبهت لردك +++ الكل يساعد هنا حد يساعد بموضوعي هههههه https://forum.multitheftauto.com/viewtopic.php?f ... 9&start=15
  17. bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end)
  18. bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end)
  19. ميزو شوف اظهار كلام بالشات هو مشكلته السترنج اين واكواد الالوان
  20. ميزو شوف اظهار كلام بالشات هو مشكلته السترنج اين واكواد الالوان
  21. قم بتبديل كود الزر الذي يعطيك دم 0 بالكود دا addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",localPlayer,255,2,2) end end )
  22. قم بتبديل كود الزر الذي يعطيك دم 0 بالكود دا addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",localPlayer,255,2,2) end end )
  23. بلاير غير معرفة localPlayer = الاعب الذي قام بالحدث فقط ب client source = المصدر = مصدر الحدث فقط ب server
  24. بلاير غير معرفة localPlayer = الاعب الذي قام بالحدث فقط ب client source = المصدر = مصدر الحدث فقط ب server
×
×
  • Create New...