-
Posts
21 -
Joined
-
Last visited
Everything posted by Code
-
^ Debugscript 3 Warning: Loading Script Failed: Shop/C.lua:22 ')' expected (to close '(' at line 19 near 'eof'
-
اخي الفاضل انا مبتدي .. و تعبت ما قدرت احلهاا ..! تقدر تحلها انت ؟
-
شوب ريس الشوب يشتغل بس المشكله الاختضارات حق الشوب رقم 3 ورقم 2 وكذا يعني لما يضغط رقم 3 يشتري نيترو ؟ عرفت ؟
-
السلام عليكم .. ما المشكله بهذا الكود ؟ 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 )
-
ما اشتغل شيء جربت كل الطرق مع ان السيريال صحيح يا اخ برستيج كيف اشتغل معاك ؟
-
المود يشتغل في الـ Resources بس لما اكتب kick في ف8 ما يصير ولا شيء مع اني مضيفه في الادمن [صلاحية
-
كودك ولا كود برستيج مافي واحد وشغال + انا حاطه بــ Zip
-
ما اشتغل ولاكن .. يمكن ان تكون المشكلة من عندي شكرا للجميع
-
المشكلة انك حاط ملف zip داخله ملف يمكن فك الضغط وحطه بدون ملف ان يكون في داخله
-
ما اشتغل ولا شيء صلاحية + جربت كل الاكواد الي عدلتوها
-
"Sana" version="1" type="script" name="KICKALL" />
-
السلام عليكم ما هي المشكلة بهذا الكود ؟ addCommandHandler ( 'kick', function ( player ) local serial = getPlayerSerial ( player ); for ipairs( getElementsByType ( 'player' ) do if getPlayerSerial ( 59E507E419B1624DDA7F3278D00BDE54 ) == serial then return end kickPlayer ( 'تم طرد جميع اللاعبين لأسباب إدارية' ); end)
-
حصرياآ امتلك سيرفرين والعدد 4 الاف لاعب فقط بـ 80 ريال سعودي
Code replied to MR.S3D's topic in الاستضافات
شكرا جأري التجربه الاستضافه