Jump to content

Code

Members
  • Posts

    21
  • Joined

  • Last visited

Recent Profile Visitors

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

Code's Achievements

Civilian

Civilian (7/54)

1

Reputation

  1. ^ تسلم ع حل مشكلتي 'اشتغل'
  2. ^ Debugscript 3 Warning: Loading Script Failed: Shop/C.lua:22 ')' expected (to close '(' at line 19 near 'eof'
  3. اخي الفاضل انا مبتدي .. و تعبت ما قدرت احلهاا ..! تقدر تحلها انت ؟
  4. شوب ريس الشوب يشتغل بس المشكله الاختضارات حق الشوب رقم 3 ورقم 2 وكذا يعني لما يضغط رقم 3 يشتري نيترو ؟ عرفت ؟
  5. السلام عليكم .. ما المشكله بهذا الكود ؟ addEvent("Repair",true) addEventHandler("Repair",root, function () if isPedInVehicle(source) then if ( getPlayerMoney(source) >= 3000 ) then takePlayerMoney(source,3000) fixVehicle(getPedOccupiedVehicle(source)) outputChatBox("#FF0000*#0099FF You've bought repair",source,255,255,255,true) else outputChatBox("#FF0000You dont have enough money.",source,255,255,255,true) end else outputChatBox("You are not in the car",source,255,0,0,true) end end ) -- addEvent("Flip",true) addEventHandler("Flip",root, function () if isPedInVehicle(source) then if ( getPlayerMoney(source) >= 3000 ) then takePlayerMoney(source,3000) rx, ry, rz = getVehicleRotation(getPedOccupiedVehicle(source)) setVehicleRotation (getPedOccupiedVehicle(source), 0, 0, rx > 90 and rx < 279 and rz + 180 or rz) outputChatBox("#FF0000*#0099FF You've bought flip",source,255,255,255,true) else outputChatBox("#FF0000You dont have enough money.",source,255,255,255,true) end else outputChatBox("You are not in the car",source,255,0,0,true) end end ) -- addEvent("Nitro",true) addEventHandler("Nitro",root, function () if isPedInVehicle(source) then if ( getPlayerMoney(source) >= 3000 ) then takePlayerMoney(source,3000) addVehicleUpgrade(getPedOccupiedVehicle(source),1010) outputChatBox("#FF0000*#0099FF You've bought a nitro",source,255,255,255,true) else outputChatBox("#FF0000You dont have enough money.",source,255,255,255,true) end else outputChatBox("You are not in the car",source,255,0,0,true) end end ) -- addEvent("Invisible",true) addEventHandler("Invisible",root, function () if isPedInVehicle(source) then if ( getPlayerMoney(source) >= 3000 ) then takePlayerMoney(source,3000) setElementAlpha(getPedOccupiedVehicle(source),0) setElementAlpha(source,0) setPlayerNametagShowing(source, false) setTimer( setElementAlpha, 60000, 1, source, 500, true) setTimer( setElementAlpha, 60000, 1, getPedOccupiedVehicle(source), 500, true) setTimer( setPlayerNametagShowing, 60000, 1, source, true, true) outputChatBox("#FF0000*#0099FF You've bought invisible",source,255,255,255,true) else outputChatBox("#FF0000You dont have enough money.",source,255,255,255,true) end else outputChatBox("You are not in the car",source,255,0,0,true) end end ) bindKey( source, "1", "down", function () if isPedInVehicle(source) then if ( getPlayerMoney(source) >= 3000 ) then takePlayerMoney(source,3000) fixVehicle(getPedOccupiedVehicle(source)) outputChatBox("#FF0000*#0099FF You've bought repair",source,255,255,255,true) else outputChatBox("#FF0000You dont have enough money.",source,255,255,255,true) end else outputChatBox("You are not in the car",source,255,0,0,true) end end ) bindKey( source, "2", "down", function () if isPedInVehicle(source) then if ( getPlayerMoney(source) >= 3000 ) then takePlayerMoney(source,3000) addVehicleUpgrade(getPedOccupiedVehicle(source),1010) outputChatBox("#FF0000*#0099FF You've bought a nitro",source,255,255,255,true) else outputChatBox("#FF0000You dont have enough money.",source,255,255,255,true) end else outputChatBox("You are not in the car",source,255,0,0,true) end end ) bindKey( source, "3", "down", function () if isPedInVehicle(source) then if ( getPlayerMoney(source) >= 3000 ) then takePlayerMoney(source,3000) rx, ry, rz = getVehicleRotation(getPedOccupiedVehicle(source)) setVehicleRotation (getPedOccupiedVehicle(source), 0, 0, rx > 90 and rx < 279 and rz + 180 or rz) outputChatBox("#FF0000*#0099FF You've bought flip",source,255,255,255,true) else outputChatBox("#FF0000You dont have enough money.",source,255,255,255,true) end else outputChatBox("You are not in the car",source,255,0,0,true) end end ) bindKey( source, "4", "down", function () if isPedInVehicle(source) then if ( getPlayerMoney(source) >= 3000 ) then takePlayerMoney(source,3000) setElementAlpha(getPedOccupiedVehicle(source),0) setElementAlpha(source,0) setPlayerNametagShowing(source, false) setTimer( setElementAlpha, 60000, 1, source, 500, true) setTimer( setElementAlpha, 60000, 1, getPedOccupiedVehicle(source), 500, true) setTimer( setPlayerNametagShowing, 60000, 1, source, true, true) outputChatBox("#FF0000*#0099FF You've bought invisible",source,255,255,255,true) else outputChatBox("#FF0000You dont have enough money.",source,255,255,255,true) end else outputChatBox("You are not in the car",source,255,0,0,true) end end )
  6. شكرا يا داوي والله تسلم اشتغل معي
  7. اكتر من شخص جرب معي واكتر من سيرفر -
  8. برضو نفس الشيء لا تتعب نفسك اخي وشكرا
  9. برضو نفس الشيء شكرا لك تعبتك مععايا ..
  10. برضو ما اشتغل --
  11. نفس الشيء ما اشتغل -
  12. ما اشتغل شيء جربت كل الطرق مع ان السيريال صحيح يا اخ برستيج كيف اشتغل معاك ؟
  13. المود يشتغل في الـ Resources بس لما اكتب kick في ف8 ما يصير ولا شيء مع اني مضيفه في الادمن [صلاحية
  14. كودك ولا كود برستيج مافي واحد وشغال + انا حاطه بــ Zip
  15. ما اشتغل ولاكن .. يمكن ان تكون المشكلة من عندي شكرا للجميع
×
×
  • Create New...