Jump to content

Me[Z]oO

Members
  • Posts

    1,830
  • Joined

  • Last visited

Everything posted by Me[Z]oO

  1. اطرح ملف الميتا
  2. addEventHandler("onClientMarkerHit", Taxi1, function (hitPlayer) if (hitPlayer == localPlayer) and if getPlayerTeam (localPlayer ) and getPlayerTeam (localPlayer) == getTeamFromName ("Criminals") then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end)
  3. addEventHandler("onClientMarkerHit", Taxi1, function (hitPlayer) if (hitPlayer == localPlayer) then if ( getTeamName( getPlayerTeam( localPlayer ) ) == "Criminals" ) then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end)
  4. addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) rw = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," "..oldNick.." is now known as "..newNick..,false,false) end end ) في شي اسمه دي بق !
  5. رح اقرب محـل بيتزا لك او عندك بيتزا هت
  6. اكل يعني يزود دم setElementHealth
  7. م لاحظت م قصدي اهانة يبطل فقط كنت انبهك وبعتذر مرة اخري
  8. التوفيق لك ولي <3 منور عبكريم ض
  9. انت شبك ؟ كل مواضيعك قريد لست لو كنت تحاول كنت اتعلمتها م حد بيرد ع الموضوع لانهم ملو من الاكواد الجاهزة برب :@
  10. رائع استمر بس حاول تسوي فنكشن احلي من هيك وم في فكرة مثلها اتمني تكون فهمتني https://forum.multitheftauto.com/viewtopic.php?f ... ps#p686821
  11. الحين انت جالس تجرب حالة المنتدي مثلاً؟ addCommandHandler("Gta-Ar", function(plr,cmd,startno,endno) local sn = tonumber(startno) local en = tonumber(endno) for i = sn to en do outputChatBox("Gta-Ar", i, 255, 0, 0, true) end end ) Gta-Ar 1 99999999999999999 to مو معرفة ,i, مو معرفة ض بالنهاية addCommandHandler("Gta-Ar", function(plr,cmd,startno,endno,chat) local sn = tonumber(startno) local en = tonumber(endno) local ch = tostring(chat) for i = sn , en do outputChatBox(ch,root,255, 0, 0) end end ) ادري اني سامج
  12. -- Client addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.checkbox[4] and guiCheckBoxGetSelected (GUIEditor.checkbox[4]) == true then triggerServerEvent('FixNow',localPlayer) elseif source == GUIEditor.checkbox[4] and guiCheckBoxGetSelected (GUIEditor.checkbox[4]) == false then triggerServerEvent('StopHealth',localPlayer) end end ) addEvent"FixNow",true) addEventHandler('FixNow',root, function ( ) local Veh = getPedOccupiedVehicle ( source ) if getElementHealth(Veh) ~= 100 then setElementHealth(Veh,100) setVehicleDamageProof(Veh, true) end end ) addEvent"StopHealth",true) addEventHandler('StopHealth',root, function () if getElementHealth(Veh) ~= 100 then return end end setVehicleDamageProof(Veh, false) ) ------------ -- Client addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.checkbox[1] and guiCheckBoxGetSelected (GUIEditor.checkbox[1]) == true then triggerServerEvent('nitro',localPlayer) elseif source == GUIEditor.checkbox[1] and guiCheckBoxGetSelected (GUIEditor.checkbox[1]) == false then triggerServerEvent('StopNitro',localPlayer) end end ) addEvent('nitro',true) addEventHandler('nitro',root, function ( ) local Veh = getPedOccupiedVehicle ( source ) addVehicleUpgrade(Veh,1010) end ) addEvent"StopNitro",true) addEventHandler('StopNitro',root, function () local Veh = getPedOccupiedVehicle ( source ) if not addVehicleUpgrade(Veh,1010) then return end removeVehicleUpgrade(Veh,1010) end ) -- Client addEventHandler('onClientGUIClick',root, function () if (source == GUIEditor.button[3]) then triggerServerEvent("FixCar", localPlayer) end end ) --Server -- Server addEvent('FixCar',true) addEventHandler( 'FixCar', root, function ( ) if isPedInVehicle ( source ) then local Veh = getPedOccupiedVehicle ( source ) fixVehicle(Veh) outputChatBox('[RentSystem]: تم اصلاح سيارتك بنجاح ', source ,0,255,0,true ) else outputChatBox('[RentSystem]: لايوجد سيارة لاصلاحها ', source ,0,255,0,true ) end end ) addEventHandler("onClientGUIClick", root,function() if source == GUIEditor.checkbox[2] and guiCheckBoxGetSelected (GUIEditor.checkbox[2]) == true then triggerServerEvent('StartRandomColor',localPlayer) elseif source == GUIEditor.checkbox[2] and guiCheckBoxGetSelected (GUIEditor.checkbox[2]) == false then triggerServerEvent('StopRandomColor',localPlayer) addEvent("StartRandomColor",true) addEventHandler('StartRandomColor', root,function( ) local vehicle = getPedOccupiedVehicle(source) Timer[player] = setTimer(function( pla ) setVehicleColor(vehicle, math.random(0,255), math.random(0,255), math.random(0,255) ) end, 100,100 ,player) outputChatBox('[RentSystem]: لقد تم تشغيل الأوان العشوائية بنجاح ', source) end) addEvent("StopRandomColor",true) addEventHandler('StopRandomColor',root, function () if isTimer( Timer) then return killTimer(Timer) end end ) --------------------------------- -- Client addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.checkbox[3] and guiCheckBoxGetSelected(GUIEditor.checkbox[3]) == true then triggerServerEvent('Create',localPlayer) elseif source == GUIEditor.checkbox[3] and guiCheckBoxGetSelected(GUIEditor.checkbox[3]) == false then triggerServerEvent('Destroy',localPlayer) end end ) --server Object = { } addEvent('Create',true) addEventHandler('Create',root, function ( ) outputChatBox('[RentSystem]: لقد تم اظهار السهم بنجاح ', source ,0 , 255, 0 , true ) local Interior , Dimension , xPosition, yPosition, zPosition = getElementInterior( source ) , getElementDimension( source) , getElementPosition( source ) Object[source] = createObject(1318,xPosition, yPosition + 10 , zPosition ) setElementInterior( Object[source] , Interior ) setElementDimension( Object[source] , Dimension ) end ) addEvent('Delete',true) addEventHandler('Delete',root, function ( ) if ( isElement( Object[source] ) ) then outputChatBox("[RentSystem]: تم اخفاء السهم بنجاح", source, 255, 0, 0, true) destroyElement( Object[source] ) end end )
  13. وجهي ابيض ض منور جست بوي منور يا بطل
  14. سوي لوب واعمل لين تضغط زر يحط داتا علي المختارمن الجريد لست ولما يدوس زر ارسال الرسالة اعمل if getElementData(localPlayer,"Mute") then outputChatBox("انت بالع ميوت")
  15. والله م بقصدي انا صورت وخلاص انا الحين موب بس بفتح بشيلها
  16. كيف مثلا getPedOccupiedVehicle createObject attachElements destroyElement
  17. م لاحظتهم ض بحط غيرها مشكور ع التنبيه منور <3 وشكرا
  18. واي فاي المزهـ <3 منور يا بطل انشاء الله بالاصدار القديد ي جابر <3
×
×
  • Create New...