Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. Do you realize that SQL is actually table based?
  2. Use rotation offset arguments of the function attachElements.
  3. TAPL

    Vehicle Sound

    Use the event onVehicleStartEnter and use getPlayerName and compare it to 'Gerard' and use isObjectInACLGroup to see if it adimn, if not then use cancelEvent and make a trigger with triggerClientEvent and use playSound on client side to play the sound.
  4. Try (Not tested), getRandomPlayer_ = getRandomPlayer function getRandomPlayer(arg) if getPlayerCount() == 1 then return false else local p = getRandomPlayer_() while p == arg do p = getRandomPlayer_() end return p end end
  5. ليه حاط تايمر + التايمر خطأ ما رح يشتغل على السيارات الي مسويها من السيرفر سايد blowVehicle onClientRender يحتاج افنت dxDrawText فنكشن
  6. onPlayerSpawn تشوف الكود الي داخل افنت استبدل الأفنت بالي تحسه مناسب لك مع تعديل ما يلزم بالكود بحسب الأفنت او التايمر ان كنت بتستخدم تايمر
  7. بعد ما تحط نفسك بالتيم /kill اكتب
  8. ايش القيم مود الي تستخدمه انت او كيف اللاعب يغير تيمه
  9. تأكد انك حاطه سيرفر سايد و وريني تعديلك على الكود
  10. انت الحين ليه ضايف بايند كي على نفس زر حق التيم الأصلي في ام تي اي؟ ض1 "FOY.Chat" ما رح يطلع الكلام عشانك مو مسوي كومند و على نفس زر التيم الأصلي بعد onPlayerChat و طريقتك خطأ كيف تحط بايند كي داخل افنت
  11. طيب يأخ وش طريقه التسريع https://wiki.multitheftauto.com/wiki/Server_Manual#Configuring_an_external_web_server
  12. حسب الي اشوفه ناقص قوس حق الأفنت
  13. سو تريقر من الكلينت إلى السيرفر ثم تريقر من السيرفر إلى الكلينت لكل اللاعبين
  14. الكود كلينت و الكلينت يشتغل عند كل اللاعبين playSound متى يشتغل الكود شي راجع لك إذا كنت مسوي تريقر من السيرفر إلى الكلينت سو تريقر لكل اللاعبين
  15. local teamName = "" -- إسم التيم local key = "" -- الزر addCommandHandler("TeamChat", function (player, _, ...) local msg = table.concat({...}, " ") local pName = getPlayerName(player) local team = getPlayerTeam(player) if team and getTeamName(team) == teamName then local r, g, b = getTeamColor(team) for _, p in ipairs (getPlayersInTeam(team)) do outputChatBox("("..teamName..") "..pName..": #FFFFFF"..msg, p, r, g, b, true) end else if isKeyBound(player, key, "down", nothing) then unbindKey(player, key, "down", "chatbox", "TeamChat") unbindKey(player, key, "down", nothing) end end end) addEventHandler("onResourceStart", resourceRoot, function() for i, player in ipairs (getElementsByType("player")) do local team = getPlayerTeam(player) if team and getTeamName(team) == teamName then bindKey(player, key, "down", "chatbox", "TeamChat") bindKey(player, key, "down", nothing) end end end) addEventHandler("onPlayerSpawn", root, function() local team = getPlayerTeam(source) if team and getTeamName(team) == teamName then if not isKeyBound(source, key, "down", nothing) then bindKey(source, key, "down", "chatbox", "TeamChat") bindKey(source, key, "down", nothing) end else if isKeyBound(source, key, "down", nothing) then unbindKey(source, key, "down", "chatbox", "TeamChat") unbindKey(source, key, "down", nothing) end end end) function nothing() end
  16. Uppercase letters wasn't working until this update: https://code.google.com/p/mtasa-blue/source/detail?r=6878 You have to update your mta and force all your players to update or use lowercase letters.
  17. https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540
  18. وش القيم مود + اطرح الأسل
  19. تقدر تضيف كولمن بس السكوربورد رح يخبص و يتغير اسم الكولمن و الداتا فيه رح تخبص
  20. SSD ركب هاردسك
  21. حسب علمي مافيه طريقة
  22. TAPL

    Car Lag

    I had the same problem in 1.3.4 but in 1.3.5 the radio doesn't even work, setRadioChannel return true but has no effect.
  23. TAPL

    سؤال؟

    Play لسباون في مود تأكد انه شغال
  24. setWeaponProperty(24, "pro", "flags", 0x000400)
  25. يغلق
×
×
  • Create New...