Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. Awesome-_-"but i can't even game forum?
  2. صح عليك بس سوي ملف سيرفر ثاني وضيف الايفنت addEvent -- سوية بـ السيرفر بـ اسم الايفنت الي مسوية addEventHandler -- سوية بـ السيرفر بـ اسم الايفنت الي مسوية createVehicle < للسيرفر انقلة warpPedIntoVehicle < للسيرفر انقلة
  3. ماهو شرط اساسي ! فية ناس فاضية ودها تساعد ذذ
  4. @ ماختلفنا نسـاعدك بس تمسح ردودك او تعدلها وتعدل الموضوع كيف تبي غيرك يستفيد ~
  5. اكيد لانة مافية صورهـ كذا اصلا اكثر شيء اقدر اساعدك فية ان الكود هذا مو كامل ارسلي الكود كامل خاص ~
  6. طيب يالغلا الصور عليها صور رئيسية صح ؟ كبيرة واسمها التعريفي WWA ? او مافية؟
  7. الصور تطلع ^ اطرح الميتا والمفروض مسوي صورة رئيسية عليها الـ 3 صور هذي اسمها ؟ WWA
  8. function kickplayer () local playerNameK = guiGridListGetItemText ( GUIEditor_Grid[1], guiGridListGetSelectedItem ( GUIEditor_Grid[1] ), 1 ) local text = guiGetText ( GUIEditor_Edit[1] ) if ( playerNameK ) then triggerServerEvent ( "kickplayer", tostring(playerNameK), tostring(text)) end end addEventHandler ( "onClientGUIClick", GUIEditor_Button[5], kickplayer )
  9. GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(0.1855,0.194,0.6631,0.5859,"لوحة ",true) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,24,661,417,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(2,3,656,308,"sr/ls.png",false,GUIEditor_Tab[1]) GUIEditor_Button[1] = guiCreateButton(250,334,109,47,"",false,GUIEditor_Tab[1]) GUIEditor_Checkbox[1] = guiCreateCheckBox(64,350,14,14,"",false,false,GUIEditor_Tab[1]) GUIEditor_Label[1] = guiCreateLabel(90,347,152,31,"",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[1],255,255,2) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Tab[2] = guiCreateTab("",GUIEditor_TabPanel[1]) GUIEditor_Image[2] = guiCreateStaticImage(4,3,654,315,"sr/ls.png",false,GUIEditor_Tab[2]) GUIEditor_Button[2] = guiCreateButton(256,333,118,49,"",false,GUIEditor_Tab[2]) GUIEditor_Checkbox[2] = guiCreateCheckBox(73,348,14,16,"",false,false,GUIEditor_Tab[2]) GUIEditor_Label[2] = guiCreateLabel(29,-174,5,5,"",false,GUIEditor_Checkbox[2]) GUIEditor_Label[3] = guiCreateLabel(90,347,152,31,"",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[3],255,255,2) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Tab[3] = guiCreateTab("",GUIEditor_TabPanel[1]) GUIEditor_Image[3] = guiCreateStaticImage(5,4,651,315,"sr/ls.png",false,GUIEditor_Tab[3]) GUIEditor_Button[3] = guiCreateButton(261,332,119,51,"",false,GUIEditor_Tab[3]) GUIEditor_Checkbox[3] = guiCreateCheckBox(61,345,15,15,"",false,false,GUIEditor_Tab[3]) GUIEditor_Label[4] = guiCreateLabel(86,342,118,33,"1",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[4],255,255,2) guiSetFont(GUIEditor_Label[4],"default-bold-small") -------------------------------------- addEventHandler ( "onClientResourceStart", resourceRoot, function () guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor ( true ) guiSetEnabled(GUIEditor_Button[1],false) guiSetEnabled(GUIEditor_Button[2],false) guiSetEnabled(GUIEditor_Button[3],false) end ) -------------------------------------- addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Checkbox[1] ) then if guiCheckBoxGetSelected(GUIEditor_Checkbox[1]) then guiSetEnabled(GUIEditor_Button[1],true) else guiSetEnabled(GUIEditor_Button[1],false) end elseif ( source == GUIEditor_Checkbox[2] ) then if guiCheckBoxGetSelected(GUIEditor_Checkbox[2]) then guiSetEnabled(GUIEditor_Button[2],true) else guiSetEnabled(GUIEditor_Button[2],false) end elseif ( source == GUIEditor_Checkbox[3] ) then if guiCheckBoxGetSelected(GUIEditor_Checkbox[3]) then guiSetEnabled(GUIEditor_Button[3],true) else guiSetEnabled(GUIEditor_Button[3],false) end elseif ( source == GUIEditor_Button[3] ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) elseif ( source == GUIEditor_Button[2] ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) elseif ( source == GUIEditor_Button[1] ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor ( false ) end end )
  10. Try it and you will get bad argument .
  11. للمعلومية الـ setPedStat سوية نفسه بس غير الارقام الاعداادت = الارقام والى ذلك جرب كذا الاكواد هذي / --الطلب الاول سيرفر !! addEventHandler("onPlayerSpawn",root, function () setPedStat(source,24,600) setElementHealth(source,100) end ) -- الطلب الثاني كلنت !! addEventHandler ( "onClientGUIClick", الزر, function () triggerServerEvent ( "onRemove",localPlayer) end ) -- الطلب الثاني سيرفر !! addEvent("onRemove",true) addEventHandler("onRemove",root, function () if ( doesPedHaveJetPack ( source ) ) then removePedJetPack ( source ) end end )
  12. I know this! But even if you add "ID" will not work .
  13. -- غير الاعدادات setPedStat setElementHealth "onPlayerSpawn" ------------------------------- removePedJetPack triggerServerEvent "onClientGUIClick"
  14. Tnx V2 Soon with last winner name and flag country. This would be great I am waiting for it .
  15. function attachTest(player) x,y,z = getElementPosition(player) local object = createObject(objectID, x, y, z) local veh = getPedOccupiedVehicle(player) attachElements(object, veh) end addCommandHandler("attachobject", attachTest) This wrong won't never work .
  16. I will work on the script now Thanks ^^
  17. جرب / ASA2 = guiCreateStaticImage(226,52,200,169,"file/2.png",false,WWA) setElementData(ASA2, "tooltip-text", "POLICE", false) guiSetAlpha(ASA2 ,0.5) ASA1 = guiCreateStaticImage(26,47,178,169,"file/3.png",false,WWA) setElementData(ASA1, "tooltip-text", "BALLAS", false) guiSetAlpha(ASA1,0.5) ASA3 = guiCreateStaticImage(448,52,278,159,"file/1.png",false,WWA) setElementData(ASA3, "tooltip-text", "GROVE", false) guiSetAlpha(ASA3 ,0.5) addEventHandler( "onClientMouseEnter", resourceRoot, function () local alpha = guiGetAlpha(ASA2) if alpha == 0.5 then guiSetAlpha ( ASA2 , 1 ) end end ) @ TaLaL Required Arguments guiElement: The gui element in which you want to retrieve the alpha of.
  18. خلاصص يا ناسس تمت افادتـة تجلسسون ترفعون مواضيع خرابيطط
  19. alpha = ?? مو معرف
  20. setAccountData "onPlayerLogin" -- Server Event "onPlayerLogout" -- Server Event givePlayerMoney
  21. Hi all, Is it possible to browse websites within the game or not? If this is possible what should i use? Thank you .
×
×
  • Create New...