Jump to content

mr.poo

Members
  • Posts

    54
  • Joined

  • Last visited

Details

  • Gang
    مبرمج

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mr.poo's Achievements

Snitch

Snitch (10/54)

0

Reputation

  1. معايا كودي انا الصانعة مش جايبو من واحد ياعني انا العاملت الاكواد دي مفيش اصلا حد عامل المود ده ونشره بعدين هدفي احترف البرمجة ليه اقعد انقل اكواد واعدل ويبقا مودي !!!
  2. GUIEditor = { button = {}, window = {}, } function VIP() GUIEditor.window[1] = guiCreateWindow(307, 157, 186, 345, "panel-vip", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.88) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFC0D02") GUIEditor.button[1] = guiCreateButton(19, 68, 147, 44, "حياة", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(19, 122, 147, 44, "درع", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(19, 176, 147, 44, "سيارة", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(19, 230, 147, 44, "شخصية", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(19, 284, 147, 44, "حارس", false, GUIEditor.window[1]) function onGuiClick1() if source == GUIEditor.button[1] then triggerServerEvent ( "button1", localplayer) end addEventHandler("onClientGUIClick", GUIEditor.button[1], root, onGuiClick1) function onGuiClick2() if source == GUIEditor.button[2] then triggerServerEvent ( "button2", localplayer) end addEventHandler("onClientGUIClick", GUIEditor.button[2], root, onGuiClick2) function onGuiClick3() if source == GUIEditor.button[3] then triggerServerEvent ( "button3", localplayer) end addEventHandler("onClientGUIClick", GUIEditor.button[3], root, onGuiClick3) function onGuiClick4(button4) if source == GUIEditor.button[4] then triggerServerEvent ( "button4", localplayer) end addEventHandler("onClientGUIClick", GUIEditor.button[4], root, onGuiClick4) function GUIOpen () windowVisible = guiGetVisible ( GUIEditor.window[1] ) if ( windowVisible == true ) then guiSetVisible ( GUIEditor.window[1] ,false) showCursor (false) else guiSetVisible ( GUIEditor.window[1] ,true) showCursor (true) end end bindKey ( "F5", "down", VIP ) end addEvent( "OpenGUI", true ) addEventHandler( "OpenGUI", getRootElement(), VIP ) بس مشكلتي الوحة مش بتفتح
  3. عارف الاكواد كلها خطاء المهم سيبكم من الاكواد دي عاوز شرح لل SetPedRotation getDistanceBetweenPoints3D setControlState setPedRotation ممكن شرح لل اكواد دي
  4. الكلينت دي اكواد تانية شوف GUIEditor = { button = {}, window = {}, } function VIP() GUIEditor.window[1] = guiCreateWindow(307, 157, 186, 345, "panel-vip", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.88) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFC0D02") GUIEditor.button[1] = guiCreateButton(19, 68, 147, 44, "حياة", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(19, 122, 147, 44, "درع", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(19, 176, 147, 44, "سيارة", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(19, 230, 147, 44, "شخصية", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(19, 284, 147, 44, "حارس", false, GUIEditor.window[1]) function onGuiClick1() triggerServerEvent ( "button1", setElementHealth) end addEventHandler("onClientGUIClick", GUIEditor.button[1], root, onGuiClick1) function onGuiClick2() triggerServerEvent ( "button2", setpedArmor) end addEventHandler("onClientGUIClick", GUIEditor.button[2], root, onGuiClick2) function onGuiClick3() triggerServerEvent ( "button3", Vehicle) end addEventHandler("onClientGUIClick", GUIEditor.button[3], root, onGuiClick3) function onGuiClick4(button4) triggerServerEvent ( "button4", setElementModel) end addEventHandler("onClientGUIClick", GUIEditor.button[4], root, onGuiClick4) function GUIOpen () windowVisible = guiGetVisible ( GUIEditor.window[1] ) if ( windowVisible == true ) then guiSetVisible ( GUIEditor.window[1] ,false) showCursor (false) else guiSetVisible ( GUIEditor.window[1] ,true) showCursor (true) end end bindKey ( "F5", "down", VIP ) end addEvent( "OpenGUI", true ) addEventHandler( "OpenGUI", getRootElement(), VIP ) السيرفر function OnGiveHealth ( ) setElementHealth( hPlayer, 200 ) exports['topbarchat']:sendClientMessage("You got you VIP Health !",source,104,104,104,false) end addEvent( "button1", true ) addEventHandler( "button1", getRootElement(),OnGiveHealth ) function OnGiveArmor ( ) setElementArmor( hPlayer, 100 ) exports['topbarchat']:sendClientMessage("You got you VIP Armor !",source,104,104,104,false) end addEvent( "button2", true ) addEventHandler( "button2", getRootElement(),OnGiveArmor ) function Car ( ) if isPedInVehicle ( source ) then exports['topbarchat']:sendClientMessage ( " Exit your car first ! ",source,250,128,114,false) CancelEvent () else x,y,z = getElementPosition ( source ) if isElement(Car) then destroyElement(Car) end Car = createVehicle ( 477, x, y, z ) warpPlayerIntoVehicle ( source, Car ) text = "VIP Car" exports['topbarchat']:sendClientMessage("You got you VIP Car !",source,80,120,200,false) setVehiclePlateText ( Car, text ) setVehicleDamageProof ( Car, true ) end end addEvent( "button3", true ) addEventHandler( "button3", getRootElement(), Car ) function Skin ( ) local accName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then local skin = getElementModel ( source ) if skin == 11 then exports['topbarchat']:sendClientMessage("You got you VIP Skin 1 !",source,0, 128, 0,false) setElementModel (source,11) end end end addEvent( "button4", true ) addEventHandler( "button4", getRootElement(),Skin ) function onGuiClick(button5) addEventHandler ( 'onClientGUIClick', GUIEditor.button[5], function (button5) executeCommandHandler ( 'vipguard' ) end, false ) end) addEventHandler("onPlayerLogin", getRootElement(), function () if isObjectInACLGroup("user."..getAccountName( getPlayerAccount(source)), aclGetGroup("VIP")) then local VIPname = getPlayerName ( source ) exports['topbarchat']:sendClientMessage ( "[VIP]" .. VIPname .. " has (logged in) " ) end end) function GUIOpen ( thePlayer , commandName ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerClientEvent ( thePlayer, "OpenGUI", thePlayer) else CancelEvent () end end addCommandHandler ( "vip", GUIOpen ) والوحة برضو مش بتفتح
  5. مشكلتي في triggerServerEvent وي هو انا لما احط زي كده triggerServerEvent ( "button4",localPlayer, setElementModel) كده صح ولا احط triggerServerEvent ( "button4",localPlayer, ElementModel)
  6. GUIEditor = { button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, GUIEditor.window[1] = guiCreateWindow(307, 157, 186, 345, "panel-vip", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.88) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFC0D02") GUIEditor.button[1] = guiCreateButton(19, 68, 147, 44, "حياة", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(19, 122, 147, 44, "درع", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(19, 176, 147, 44, "سيارة", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(19, 230, 147, 44, "شخصية", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(19, 284, 147, 44, "حارس", false, GUIEditor.window[1]) function noor() getVisible = guiGetVisible (GUIEditor.window[1]) if (getVisible == true) then guiSetVisible (GUIEditor.window[1] , false) showCursor (false) fadeCamera (true) end if (getVisible == false) then guiSetVisible (GUIEditor.window[1], true) showCursor (true) fadeCamera (true) end end addEventHandler("onClientResourceStart", resourceRoot, function() guiSetVisible(GUIEditor.window[1] , false) end ) bindKey ("F5", "down", noor) function () local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then end function onGuiClick(button1) if source == GUIEditor.button[1] then triggerServerEvent ( "button1",localPlayer, setElementHealth) setElementHealth( hPlayer, 200 ) end end addEventHandler("onClientGUIClick", root, onGuiClick) function onGuiClick(button2) if source == GUIEditor.button[2] then triggerServerEvent ( "button2",localPlayer, setpedArmor) setPedArmor ( hPlayer, 100 ) end end addEventHandler("onClientGUIClick", root, onGuiClick) function onGuiClick(button3) if source == GUIEditor.button[3] then triggerServerEvent ( "button3",localPlayer, Vehicle) local Vehicle = createVehicle ( 411, 4, 0, 3 ) warpPedIntoVehicle ( Vehicle ) end end addEventHandler("onClientGUIClick", root, onGuiClick) function onGuiClick(button4) if source == GUIEditor.button[4] then triggerServerEvent ( "button4",localPlayer, setElementModel) setElementModel (source,11) end end addEventHandler("onClientGUIClick", root, onGuiClick) الوحة مش بتفتح
  7. السلام عليكم انا عملت لوحت فيب بس في مشكلة انها مش بتفتح ممكن حد يجي سكايبي اديله الاكواد يشوفها السكايبي noorolemy1
  8. طيب شباب انا معايا كود بس في اشياء كتير خطاء لاني مفهمتش ازاي اركب الكود مع باقي الاكواد فكرة المود وظيفة راعي الغنم تدخل الماركر يديلك شخصية راعي الغنم بعدين تستني كل 6 ثواني ينزل لك خروف يتبعك (شخصية) بعدين بتروح تبيع في الماركر الثاني علي حسب عدد الخرفان العندك الكود marker = createMarker ( -1642.44788, -2246.92163, 31.47656, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler('onMarkerHit', Marker,element) function( element ) if element and getElementType(element) == "player" then setElementModel ( element, 150 ) end end if local x,y,z = getElementPosition (element) local samsite = createped ( 43, x, y, z + 3 ) end) function ( element ) ( source, posX, posY, posZ ) (setElementPosition ( source, posX, posY, posZ ) end) function( fs ) setPedRotation ( ped thePed, float rotation [, bool conformPedRotation = true ] newRotation = math.random ( 0, 360 ) setPedRotation ( getLocalPlayer(), newRotation ) setTimer ( fs, 1000, 0 ) end) 1marker = createMarker ( -1642.82092, -2255.89844, 31.97523, "cylinder", 1.5, 255, 255, 0, 170 ) addEventHandler('onMarkerHit', 1Marker,ds) function( ds ) destroyElement ( source ) destroyElement ( fs ) end givePlayerMoney ( thePlayer, 1000 ) end)
  9. مطلوب مبرمج محترف يساعدني في شوية اكواد السكايبي noorolemy1 يكلمني
  10. حلو اوي يا احمد وكلمني سكايبي انا نور
  11. لوحة تسجيل دخول مع امكنية الدخول بدون تسجيل الرابط https://community.multitheftauto.com/ind ... s&id=12174
  12. السلام عليكم ده اول لوحة ليا اعملها وشكرا للكل من ساعدني الرابط https://community.multitheftauto.com/in ... s&id=12170 الوحة تفتح من اف2
×
×
  • Create New...