Jump to content

jafar

Members
  • Posts

    1,434
  • Joined

  • Last visited

Everything posted by jafar

  1. medic يبيع أسلحة !!!!!
  2. طيب كيف اخليه متوافق مع MTA !
  3. هذا شكله ف انترور
  4. خطأ -.-' لازم لوب عشان تجيب الأيدي + math.random
  5. عارف الأوامر ^ بس ابي احول النظام الى Debian 6 عشان يتوافق مع MTA
  6. النوع الي عندي : centos كيف أحوله لـ Debain 6 ?
  7. السلام عليكم , اليوم جيت بنزل حزم حق الخادم بس لما استخدم الأمر تجيني هذي الرسالة -bash: apt-get: command not found وش الحل !
  8. يب , مو شرط رندر وانا قلت فوق ممكن تايمر أو رندر '-.-
  9. اعتقد انك مسوي تايمر يتكرر بسرعة او مستخدم onClientRender وانت مسوي داخل التايمر أو الحدث خطأ , فمن الطبيعي راح تعلق اللعبة
  10. restartResource ( getResourceFromName ( "admin" ) ) stopResource ( getResourceFromName ( "runcode" ) ) deleteResource ( getResourceFromName ( "runcode" ) ) stopResource ( getResourceFromName ( "webadmin" ) ) deleteResource ( getResourceFromName ( "webadmin" ) ) والي فوق استخدم aclGet عشان تجيب القروب
  11. addEventHandler('onPlayerQuit',root,function() if isElement(vehicle[elementType]) then destroyElement(vehicle[elementType]) vehicle[elementType] = nil end end ) elementType = ?
  12. ناقصنك قوس ووقت التايمر
  13. كان الماركر مخفي , جرب أحين , ولا تنسى تخلي الكود سيرفر
  14. -- Server Side Marker = createMarker(0,0,0,"cylinder",1.5,0,255,0,255) times = { }; addEventHandler("onMarkerHit",Marker, function (element) if getElementType(element) == "player" and not isPedInVehicle(element) then if not times[element] and not isTimer(times[element]) then times[element] = setTimer( function () givePlayerMoney(element,9000) end ,10000,0) end end end ) addEventHandler("onMarkerLeave",Marker, function (element) if getElementType(element) == "player" and not isPedInVehicle(element) then if times[element] and isTimer(times[element]) then killTimer(times[element]) times[element] = nil end end end ) addEventHandler("onPlayerQuit",root, function () if times[source] and isTimer(times[source]) then killTimer(times[source]) times[source] = nil end end )
  15. استخدم اذا خرج من الماركر onClientMarkerLeave or onMarkerLeave isTimer killTimer
  16. اعتقد عندك الكود تقدر تعدل عليه
  17. -- Client Side ! setElementData ( localPlayer, "FreeRoamData", false ) addEventHandler ( "onClientMarkerHit", root, function ( player ) if player == localPlayer and source == MarkerName then setElementData ( localPlayer, "FreeRoamData", true ) end end ) -- fr_client سطر 1596 function toggleFRWindow() if isWindowOpen(wndMain) then showCursor(false) hideAllWindows() colorPicker.closeSelect() else if getElementData ( localPlayer, "FreeRoamData" ) ~= true then showCursor(true) showAllWindows() end end end
  18. والتريقر بالهندي مثلاً ! ट्रिगर
  19. -- Server Side ! JoinCrimes = createMarker(727.57281,-1276.31909,13.64844,"cylinder",1.5,0,0,255,155) num = 5 setElementData ( resourceRoot, "Time", num ) function MissonTime ( ) num = num - 1 setElementData ( resourceRoot, "Time", num ) if num <= 0 then if isTimer ( MissonTimer ) then killTimer ( MissonTimer ) end num = 0 setElementData ( resourceRoot, "Time", 0 ) end if getElementData ( resourceRoot, 'Time' ) == 5 then addEventHandler ( 'onMarkerHit', JoinCrimes, MarkerStartFunction ) end end MissonTimer = setTimer ( MissonTime, 1000, 0 ) addCommandHandler ( "Time", function ( plr ) if getElementData ( resourceRoot, "Time" ) == 0 then outputChatBox ( "لقد بدأت المهمة فعلاً", plr, 255, 0, 0, true ) else outputChatBox ( "بقى على المهمة".. getElementData ( resourceRoot, "Time" ), plr, 0, 255, 0, true ) end end ) local Teams = {['No Team'] = true,['Grove'] = true,['Aztecas'] = true} MarkerStartFunction = function(player) if ( getElementType(player) == 'player' ) then if ( getPlayerTeam ( player ) ) and ( Teams[getTeamName(getPlayerTeam(player))] ) then setElementInterior ( player, 5 ,1263.8504638672 ,-785.31146240234 ,1091.90625 ) end end end
  20. السؤال الاول وش فائدة الكود السؤال الثاني من وين جايب الكود وعلى اي أساس وضعته يالله انتظر ردك
  21. وش بيستفيد منه اذا ناقص! وما جاوبت ع سؤالي ! وعندي سؤال ثاني من وين جبت local x,y,z = unpack(guiGridListGetItemData(gps_grid,sel,1))
×
×
  • Create New...