Jump to content

SycroX

Members
  • Posts

    2,141
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by SycroX

  1. function engineSwitch() if isPedInVehicle(source) then local veh, engine = getPedOccupiedVehicle(source), getVehicleEngineState(veh) setVehicleEngineState(veh, not engine) outputChatBox(engine and "you've successfully turn the engine off" or "engine turned on successfully", source, 255, 255, 255, true) end end addEvent("engenieSwitch", true) addEventHandler("engenieSwitch", getRootElement(), engineSwitch) try this, by the way your code is fine but did you define (r, g, b) ?
  2. -- or addEventHandler ( "onClientRender", root, function() dxDrawImage(200, 200, 100, 100, 'pic.png', getTickCount()/0.9) end ) اذا ما تبي تستعمل متغيرات
  3. الوظيفه ذي ترجع لك فلوس اللوكل بلاير فقط اذا تبي تجيب فلوس اللاعبين جبها سيرفر سايد و ارسلها للكلنت عن طريق التريجر
  4. int getPlayerMoney ( ) OOP Syntax Help! I don't understand this! Method: Player.getMoney(...) Counterpart: setPlayerMoney Returns[edit] Returns an integer with the amount of money the local player has.
  5. معلش هو انت مو قلت مره انت مبرمج و كذا و تعلمت البرمجه كيف تيجي هنا و تطلب الأشياء السهله ذي ؟
  6. create it in this section https://forum.multitheftauto.com/forum/134-البرمجة/
  7. lol i thought this is the arabic section sry for the topic's owner , in this section you can't speak any language except english so you have to go to the arabic section and repost your problem there and the solution of your problem is to add user.Console to console group , if it didn't work so you gotta check the console group if you have modified it or removed some permissions
  8. ضيف ذا لجروب كونسال user.Console مو user.console ذي غلط
  9. i didn't understand what are you talking about
  10. تحفظه علي اسم اللاعب ؟؟ افرض الاعب غير اسمه بيروح كل شي معه لهيك افضل شي احفظو علي الأكونت او السريال
  11. warpPedIntoVehicle بتاعت فنكشن Argumentsما فكرت تقراء الـ
  12. SycroX

    مسآعدة

    من حيث الناحيه ذي فا قواعد البيانات بتكون افضل فعلا
  13. SycroX

    مسآعدة

    اظن الأثنين نفس الشي لانهم ينحفظو في الـ internal.db لهيك اظن ان الأكونت داتا اسهل له
  14. well we can simply use addDebugHook
  15. SycroX

    Walk style

    https://community.multitheftauto.com/?p=resources&s=details&id=15560
  16. ما اخدت بالي local kills = 0 addEventHandler("onClientPlayerWasted", root, function(killer) if killer and killer ~= source and getElementType(killer) == "player" then if killer == localPlayer then kills = kills + 1 if kills == 1 then addEventHandler("onClientRender", root, dxText) end killsTimer = setTimer(function() kills = kills - 1 if kills > 0 then resetTimer(killsTimer) else removeEventHandler("onClientRender", root, dxText) if kills < 0 then kills = 0 end end end, 3000, 1) end end end ) function dxText() dxDrawText("+1,000 $", 941, 325, 1145, 368, tocolor(22, 191, 14, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) end
  17. لسا فورا ملاحظ انك زاحف هههه ولكم منور يراجل اسمك القديم كان افضل + local kills = 0 addEventHandler("onClientPlayerWasted", root, function(killer) if killer and killer ~= source and getElementType(killer) == "player" then if killer == localPlayer then kills = kills + 1 if kills == 1 then addEventHandler("onClientRender", root, dxText) end killsTimer = setTimer(function() kills = kills - 1 if kills > 0 then resetTimer(killsTimer) else removeEventHandler("onClientRender", root, dxText) if kills < 0 then kills = 0 end end end end end end ) function dxText() dxDrawText("+1,000 $", 941, 325, 1145, 368, tocolor(22, 191, 14, 255), 1.20, "bankgothic", "left", "top", false, false, false, false, false) end
  18. if you speak arabic so you have to go to arabic section https://forum.multitheftauto.com/forum/96-arabic-العربية/
  19. there's a lot of functions like getPlayerACLGroups that the function you want you will find it in that topic
  20. so there's a lot of useful functions in our arab''s useful functions topic you can find what you need in this topic or you can use aclGetList isObjectInACLGroup and put the results in table and send the table to client side
  21. اظن بالأكونت داتا اسهل شي و ما يحتاج قواعد بيانات بكل بساطه استخدم حدث لما يسجل اللاعب Ex addEventHandler("onPlayerLogin", root, function(_,account) local isFirstTime = getAccountData(account, "iFT") if not isFirstTime then setAccountDate(account, "iFT", "true") else outputChatBox("that's not your first time buddy", source, 255, 255, 255) end end )
×
×
  • Create New...