Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. TAPL

    Need help!!

    Post client side.
  2. TAPL

    Need help!!

    local vehicles = { } addEvent("spawnvehicle", true) addEventHandler("spawnvehicle", root, function(vehID) local team = getPlayerTeam(source) if (team and getTeamName(team) == "Medic") then if isElement(vehicles[source]) then destroyElement(vehicles[source]) end vehicles[source] = createVehicle(vehID, getElementPosition(source)) if (vehicles[source]) then setVehicleColor(vehicles[source], 255, 255, 255) setTimer(warpPedIntoVehicle, 200, 1, source, vehicles[source]) triggerClientEvent(source, "closeWindow", root) end end end)
  3. موضوع سعد ما انحذف الي أنحذفو “كيف غير لون الماركر” “وش الغلط في الكود” عادي تكبرون و تنسون
  4. شكلي حذفت موضوعين مالهم دخل بالغلط هههههههه
  5. الأمثلة الي أنا حاطها كلها سيرفر
  6. أيش الي مو فاهمه تحديداً؟
  7. bindKey("4", function() playSound("أسم الملف هنا") end) أو bindKey("num_4", function() playSound("أسم الملف هنا") end) الكودين كلينت **
  8. I guess you use it client side, xmlLoadFile client side can load only the files that has downloaded in mods\deathmatch\resources, while meta.xml not one of them. You need to use it server side and trigger it to client side.
  9. destroyElement(Fenster2[1]) i guess you are destroying the gui and when you want show it again you using guiSetVisible? You should note that after destroying the gui, it does not exist anymore that why it won't show anymore.
  10. executeCommandHandler("out")
  11. -- قبل تسجيل الدخول -- fadeCamera(player, false) -- تظليم الشاشة showChat(player, false) -- أخفاء الشات -- بعد تسجيل الدخول -- fadeCamera(player, true) -- أرجاع الشاشة لوضعها الطبيعي showChat(player, true) -- إظهار الشات spawnPlayer(player, x, y, z) -- سباون للاعب setCameraTarget(player) -- وضع الكاميرا على اللاعب
  12. fadeCamera showChat spawnPlayer setCameraTarget
  13. غير الكود ذا triggerClientEvent ( "hideLoginWindow", getRootElement()) إلى triggerClientEvent ( player, "hideLoginWindow", player) و تأكد أن المود مضاف في قروب أدمن
  14. Use: setElementData getElementData
  15. TAPL

    User Panel

    Nothing can be done other than checking that you have add the resource in admin group or something like this. Anyway, do you have the server side?
  16. Your servers is in USA?
  17. TAPL

    User Panel

    We can't help you without the code.
  18. i forgot function() Copy the code again. @Samer, Your code won't work, because there no IF statement in your code.
  19. That because you're using Server side and Client side functions in Client side script, you need to make trigger.
  20. exports.scoreboard:addScoreboardColumn("Country") exports.scoreboard:addScoreboardColumn("Cash") addEventHandler("onPlayerJoin", root, function() setElementData(source, "Country", exports.admin:getPlayerCountry(source) or "N/A") end) addEventHandler("onPlayerSpawn", root, function() setElementData(source, "Cash", getElementData(source, "data.cash") or 0) end) And Make Sure The Scoreboard is Running.
  21. حط كود الترقير الي بالكلينت
  22. TAPL

    SQL

    What have executeSQLQuery to do with mysql? You need dbQuery not executeSQLQuery.
  23. TAPL

    User Panel

    https://forum.multitheftauto.com/viewtopic.php?f=91&t=47897
  24. https://community.multitheftauto.com
  25. TAPL

    how can i

    https://forum.multitheftauto.com/viewtopic.php?f=148&t=40809 https://wiki.multitheftauto.com/wiki/Main_Page
×
×
  • Create New...