Jump to content

#|_oskar_|#

Members
  • Posts

    897
  • Joined

  • Last visited

Everything posted by #|_oskar_|#

  1. اطرح الاكواد اللى تحطها وتخرب المود
  2. انت تبي كل لاعب يكون له سيارته الخاصه واذا لاعب اخر يبي يركب معاه مايقدر صح ؟
  3. الفنكشن اللى لونه احمر كلنت الفنكشن اللى لونه برتقالي سيرفر الفنكشن اللى لونه ازرق سيرفر وكلنت
  4. لم تتم التجربه = لو في اخطاء بالديبق ياريت تطرحها لنا addEventHandler ( "onPlayerJoin",root,function() outputChatBox("تم بددآ المهم اذهب الى المآركه لـدخول الى المهمه",source, 50, 30, 255) outputChatBox("تم تغشيل المهمه",source, 0, 150, 255) end) --------create Marker local WarMission = createMarker(2727.24390,-1826.40039,11.84375, "cylinder", 2, 255, 150, 250, 150) --------Taple local war = { {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375}, {2485.00000,-1667.00000,13.34375},} -------- Event Marker addEventHandler( "onMarkerHit", WarMission,function (player) if getElementType(player) == "player" and not isPedInVehicle(player) then if player == 32 then return outputChatBox ( 'العدد مكتمل لايمكنك دخول المهمه', player ) end local x, y, z = unpack(war[math.random(#war)]) setElementPosition(player, x, y, z) setElementModel (player, 2) setElementDimension ( player, 6 ) giveWeapon ( player, 4, 1, true ) giveWeapon ( player, 27, 999999, true ) giveWeapon ( player, 31, 999999, true ) giveWeapon ( player, 30, 999999, true ) giveWeapon ( player, 16, 2, true ) giveWeapon ( player, 25, 999999, true ) toggleControl ( player, "fire", false ) setElementFrozen(player, true) setTimer (function (player) if isElement(player) then toggleControl ( player, "fire", true ) setElementFrozen(player, false) end end,1*60000, 0 ) end end)
  5. انت الحين مسوي كم كولمن ؟ لو مسوي اثنين كولمن تسوي كذا local GridList = guiCreateGridList (...) local column1 = guiGridListAddColumn( GridList, "nnn", 7 ) local column2 = guiGridListAddColumn( GridList, "www", 7 ) ---- local row = guiGridListAddRow ( GridList ) guiGridListSetItemText(GridList,row,column1,Name ,false,false) guiGridListSetItemText(GridList,row,column2,Warnl,false,false)
  6. اعتقد كدا قصدك guiGridListSetItemText(GridList,row,2,Name .. '' .. Warnl,false,false)
  7. الموضوع قلب فضايح
  8. addEvent("Acc:My:Car",true) addEventHandler("Acc:My:Car",root,function ( ID ) if ( isElement(Cars[source]) ) then destroyElement(Cars[source]) end local x,y,z = getElementPosition(source) Cars[source] = createVehicle(ID,x,y,z) warpPlayerIntoVehicle ( source,Cars[source] ) OutPut( "تم انزال السيارة الخاصة",source,255,255,0) end)
  9. للافاده bindKey("vehicle_fire", "down",function () if getElementData(localPlayer,"Console") == true then local vehicle = getPedOccupiedVehicle(localPlayer) local rX,rY,rZ = getElementRotation(vehicle) local x, y, z = getElementPosition(vehicle) local x = x+4*math.cos(math.rad(rZ+90)) local y = y+4*math.sin(math.rad(rZ+90)) createProjectile(vehicle, 19, x, y, z, 1.0, nil) end end) addEventHandler("onPlayerLogin",root,function () if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(source)), aclGetGroup ( "Console" )) then setElementData(source, "Console",true) end end) addEventHandler("onPlayerLogout", root,function () setElementData(source, "Console",false) end)
  10. plr --source بدلها بسورس
  11. function dxDrawFramedText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, frameColor, colorCoded ) color = color or tocolor ( 0, 0, 0, 50 ) frameColor = frameColor or tocolor ( 0, 0, 0, 255 ) scale = scale or 1.1 font = font or "default" alignX = alignX or "left" alignY = alignY or "top" clip = clip or false wordBreak = wordBreak or false postGUI = postGUI or false colorCoded = colorCoded or false text = message:gsub ( '#%x%x%x%x%x%x', '' ) dxDrawText (text, left + 1, top + 1, width + 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left + 1, top - 1, width + 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left - 1, top + 1, width - 1, height + 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText (text, left - 1, top - 1, width - 1, height - 1, frameColor, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText ( message, left, top, width, height, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) end addEventHandler ( "onClientRender", root, function ( ) local data = getElementData ( resourceRoot, "3ajel" ) if ( data ) then local Name = tostring ( data[1] ) or "" local Message = tostring ( data[2] ) or "" dxDrawFramedText ( "* ".. Name ..": #FFFFFF".. Message, 14, 571, 766, 605, tocolor ( 255, 255, 255, 255 ), 1.00, "default- bold", "left", "top", false, false, false, false, true ) end end) bindKey ( "u", "down", "chatbox", "AM" )
  12. مايحتاج تسوي ترايقر للصوت
  13. نساعدك ازاى بددون اكواد ها ؟
  14. يحدد على الاسم قريد ليست ولا وش .؟
  15. جرب كدا if ( getElementData(root,"VIP") ) == true and ( model == 189 or model == 240 or model == 227 or model == 228 ) then
  16. player -- مو معرفه localPlayer -- بدلها بـ
  17. exports.guimessages:outputServer (source, "u have health 35" ,255, 0,0)
  18. السكايب عندى مايفتح حاليا عندى فيس
  19. في صوره ب اسم palette غير موجوده يمكن انت حذفتها من داخل المجلد colorpicker
  20. setCameraFieldOfView-- وظيفته يقرب الككاميرا او يبعدهها
×
×
  • Create New...