Jump to content

!#NssoR_)

Retired Staff
  • Posts

    1,474
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by !#NssoR_)

  1. You can say that Here.
  2. مو نفس الطلب؟ لو تلاحظ الكود الي انا طرحته بالموضوع الثاني , يخليك لما تشتري نيترو تستعمله مره وحده ويخلص , لازم ترجع تشتري
  3. الله يعافيك يالغالي , لا عادي مامن ازعاج يالذيب
  4. الله يسلمك , الغلط كان في ايدي النيترو انت كنت حاطه 1007 و هذا ماهو الايدي حق النيترو الايدي الصحيح هو 1008
  5. addEvent("onFlip", true) addEventHandler("onFlip", root, function() local veh = getPedOccupiedVehicle(client) if veh then if getPlayerMoney(client) >= 1500 then if not getElementData(client, "isBuyFlip") then takePlayerMoney(client, 1500) local rx, ry, rz = getElementRotation(veh) setElementRotation(veh, 0, 0, rx > 90 and rx < 279 and rz + 180 or rz) setElementData(client, "isBuyFlip", true) setTimer(function(player) setElementData(player, "isBuyFlip", false) end, 5000, 1, client) outputChatBox("#555555 [ ShopSystem ]#999999 You Have Been Bought Flip", client, 255, 255, 255, true) else outputChatBox("#555555 [ ShopSystem ]#999999 Wait 5 Seconds To Buy Flip !", client, 255, 0,0, true) end else outputChatBox("#555555 [ ShopSystem ]#999999 You don't have enough money !", client, 255, 0,0, true) end else outputChatBox("#555555 [ ShopSystem ]#999999 You Are Not In Vehicle", client, 255, 0, 0, true) end end) addEvent("onRepair", true) addEventHandler("onRepair", root, function() local veh = getPedOccupiedVehicle(client) if veh then if getPlayerMoney(client) >= 2500 then if not getElementData(client, "isBuyRepair") then takePlayerMoney(client, 2500) local rx, ry, rz = getElementRotation(veh) fixVehicle( getPedOccupiedVehicle ( client ) ) setElementData ( client, "isBuyRepair", true ) setTimer ( function ( player ) setElementData ( player, "isBuyRepair", false ) end, 5000, 1, client ) outputChatBox ( "#555555 [ ShopSystem ]#999999 You Have Been Bought Repair", client, 255, 255, 255, true ) else outputChatBox("#555555 [ ShopSystem ]#999999 Wait 5 Seconds To Buy Repair !", client, 255, 0,0, true) end else outputChatBox("#555555 [ ShopSystem ]#999999 You don't have enough money !", client, 255, 0,0, true) end else outputChatBox("#555555 [ ShopSystem ]#999999 You Are Not In Vehicle", client, 255, 0, 0, true) end end) addEvent("onNitro", true) addEventHandler("onNitro", root, function() local veh = getPedOccupiedVehicle(client) if veh then if getPlayerMoney(client) >= 500 then if not getElementData(client, "isBuyNitro") then takePlayerMoney(client, 500) local rx, ry, rz = getElementRotation(veh) addVehicleUpgrade ( getPedOccupiedVehicle ( client ), 1008 ) triggerClientEvent(client,"onflip2", client,veh) setElementData ( client, "isBuyNitro", true ) setTimer ( function ( player ) setElementData ( player, "isBuyNitro", false ) end, 5000, 1, client ) outputChatBox ( "#555555 [ ShopSystem ]#999999You Have Been Bought Nitro", client, 255, 255, 255, true ) else outputChatBox("#555555 [ ShopSystem ]#999999 Wait 5 Seconds To Buy Nitro !", client, 255, 0,0, true) end else outputChatBox("#555555 [ ShopSystem ]#999999 You don't have enough money !", client, 255, 0,0, true) end else outputChatBox("#555555 [ ShopSystem ]#999999 You Are Not In Vehicle", client, 255, 0, 0, true) end end)
  6. استبدل هذا السطر triggerClientEvent(client,"onflip2", client) بهذا السطر triggerClientEvent(client,"onflip2", client,veh) واستبدل الكلنت بهذا addEvent("onflip2", true) addEventHandler("onflip2", root, function(veh) setVehicleNitroCount(veh, 1) end) ملاحظة : رقم 1 لو غيرته لـ 101 راح يكون النيترو لانهائي *
  7. الشباب يقصدون , ان انت لما قلت ابي الاحتلال من الساعه 6 الي 9 ويقفل ماراح تضبط مع الكل لأن مثلا وقت الكويت يختلف عن مصر ومصر يختلف عن الجزائر وهكذا . يعني انت مثلا بالسعوديه خليه ع توقيت السعوديه وخلاص , بس عند الجزائريين راح يكون مختلف مادري كم بالضبط ولكن ماراح يكون زي توقيت السعودية
  8. يعطيك العافيه اخ عبد الكريم ع الموضوع المفيد لبعض من الاخوان المبتدئين ولكن مسوين لها فنكشنات خارجية لتسهيل إستخدامها SQL اصلن هي
  9. MP3 ولكن تقدر تسجل صوت بأي برنامج تصوير وتحوله playSound ومن ثم تشغله عن طريق
  10. addEvent( "armor", true) addEventHandler( "armor", root, function () setPedArmor ( client , 100 ) outputChatBox("تم اعطائك درع", client, 220, 0, 0 ) end)
  11. اتمني مره اخري توضح طلبك وتتكلم باللغه العربيه الفصحي لأن كلامك غير مفهوم
  12. !#NssoR_)

    freeze camera

    You can't freeze it , but you can use setCameraMatrix to put the camera at certain position. And use setCameraTarget to return the camera to the player.
  13. Locked , as what the topic owner reported.
  14. Bro, if u wanna put lua functions please use : To be able to read it easily.
  15. The wiki is correct. If you enter a dimension greater than 65535 then, it is will move you to 0 dimension.
  16. يب هذا شئ اكيد ولكن الحين اتوقع اغلب السيرفرات ماتخلي اللاعب يلعب الا وهو مسجل * والافضل ان اللاعب مايخش الديربي الا بعد ماتتحقق انه مسجل
  17. انت لما تحفظ القيمة تحفظها ع الاكاونت نفسه يعني حتي لو طلع تقدر تستخدم getAccounts وتجيب كل الحسابات وتعرض كل القيم
  18. Source The source of this event is the player who sent the chatbox message.
×
×
  • Create New...