Jump to content

AboShanab

Members
  • Posts

    1,348
  • Joined

  • Last visited

Everything posted by AboShanab

  1. guiSetVisible (Client,false) هذا الصحيح ^ تحطه الكود على اسم نافذتك بـ الضبط م يتغير بـ ولا حرف
  2. @alw7sh : setElementInterior(marker) > setElementInterior(marker, int)
  3. @iMr.FhAwH : دامكـ م تبي تحطه ليه تسويه للناس بالاساس ؟ بعدين بكيفه براحته مودهـ وبكيفه ماعليكم منه ..
  4. بالاساس لو انك م تعرف وين يكون الماب اجل كيف ركبته ؟
  5. AboShanab

    check

    Try This. function checkWhoHaveJetpack() for index, thePlayer in ipairs(getElementsByType("player"))do if doesPedHaveJetPack(thePlayer) then setElementData(thePlayer, "Jetpack", true) else setElementData(thePlayer, "Jetpack", false) end end end setTimer(checkWhoHaveJetpack, 1000, 0)
  6. Try This .. timer = setTimer ( function ( col ) outputChatBox("lol") if ( isElementWithinColShape ( localPlayer, col ) ) then setRadarAreaFlashing ( r, true ) count = count + 1 if ( count == 200 ) then removeEventHandler("onClientRender",root,DrawInfos) end end end , 1000, 0, source )
  7. بإمكانك تغيير الداتا عبر تغيير القيمة اللي انت تريدها مثال انت تبي القيمة اذا كانت true لو خليتها false او nil تعتبر كانك حذفتها من الحسااب ..
  8. in table name player account or player name ?
  9. شلون يعني تطرح لي الماب ؟ هههههههههههه ابيك ترفعه لي ع اي موقع رفع مثلا ذا الموقع www.gulfup.com وهات رابط التحميل حقه اشيك اشوف مشكلته وش
  10. no .. ( if u use this funciton correct )
  11. طيب اطرح لنا الماب حقك يمكن نقدر نساعدك فيه
  12. -- # Server Side ! addEventHandler ( "onVehicleEnter", root, function ( ) setTimer ( function ( vehicle ) for i = 0, 5 do setVehicleDoorOpenRatio ( vehicle, i, 0 - getVehicleDoorOpenRatio ( vehicle, i ), 2500 ) end end, 250, 1, source ) end )
  13. function wdw () PVPw = guiCreateWindow (0.25, 0.25, 0.50, 0.50, "PVP Window", true) guiWindowSetMovable (PVPw, false) guiWindowSetSizable (PVPw, false) playerList = guiCreateGridList (0.10, 0.10, 0.50, 0.85, true, PVPw) guiGridListAddColumn (playerList, "Players List ...", 0.85) for id, playeritem in ipairs (getElementsByType ("player")) do local row = guiGridListAddRow (playerList) guiGridListSetItemText (playerList, row, 1, getPlayerName (playeritem), false, false) local playerName = guiGridListGetItemText ( playerList, row, 1 ) outputChatBox ( tostring ( playerName ) ) end amountL = guiCreateLabel (0.65, 0.10, 0.30, 0.10, "Cash ammount:", true, PVPw) amount = guiCreateEdit (0.65, 0.17, 0.30, 0.10, "", true, PVPw) amountLimit = guiCreateLabel (0.65, 0.28, 0.30, 0.10, "Limit: 99999$", true, PVPw) guiLabelSetColor (amountLimit, 0, 255, 0) roundsL = guiCreateLabel (0.65, 0.45, 0.30, 0.10, "Rounds", true, PVPw) rounds = guiCreateEdit (0.65, 0.52, 0.30, 0.10, "", true, PVPw) roundsLimit = guiCreateLabel (0.65, 0.63, 0.30, 0.10, "Limit: 8", true, PVPw) guiLabelSetColor (roundsLimit, 0, 255, 0) challb = guiCreateButton (0.65, 0.80, 0.30, 0.15, "Challenge", true, PVPw) end addEventHandler ("onClientResourceStart", getRootElement(), wdw)
  14. addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then guiSetVisible ( window, false ) showCursor ( false ) end end)
  15. -- # Server Side ! addEvent ( "onBuyHealth", true ) addEventHandler ( "onBuyHealth", root, function ( ) if ( getPlayerMoney ( client ) >= 100 ) then if ( getElementHealth ( client ) < 100 ) then takePlayerMoney ( client, 100 ) setElementHealth ( client, 100 ) outputChatBox ( "* You Have Been Bought Health By 100$ !", client, 255, 255, 0, true ) else outputChatBox ( "* You Can Buy Health if your health less of 100 !", client, 255, 0, 0, true ) end else outputChatBox ( "* You Don't Have 100$ !", client, 255, 0, 0, true ) end end )
  16. ي الخوي لازم تعديل ع السكور بورد ! اطرح السكور مالك ..
  17. ششششششششششششششششششششششطحههه ي شششنب هع نترقبها احمودددددده
  18. اذا إنك تقصد كود يطفي الزر يعني م يمديك تضغط عليه وتبي تطفي وتشغل وكذا إستخدم : guiSetEnabled
×
×
  • Create New...