Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. Show the projectile code.
  2. TAPL

    Need a Function

    Thannnk you but how to hid it ? and How to Make The Text Colored ? to show it you will need to use event onClientRender and to hide it you will need to remove the event onClientRender addEventHandler removeEventHandler to make the Text Colored use the colorCoded argument at https://wiki.multitheftauto.com/wiki/DxDrawText or use this function https://wiki.multitheftauto.com/wiki/DxDrawColorText
  3. projectile have creator check wiki https://wiki.multitheftauto.com/wiki/CreateProjectile creator: The element representing creator of the projectile. In case you want the projectile to be synced for everybody creator must be getLocalPlayer().
  4. TAPL

    Need a Function

    you mean dxDrawRectangle maybe? https://wiki.multitheftauto.com/wiki/DxDrawRectangle
  5. حط كودك و ياليت تشرح لنا أيش الي تبي تسويه بالضبط
  6. الماب الأصلي ممكن حذفه عن طريق https://wiki.multitheftauto.com/wiki/RemoveWorldModel
  7. showCursor(true) -- أظهار الماوس showCursor(false) -- أخفاء الماوس
  8. لأظهار الماوس https://wiki.multitheftauto.com/wiki/ShowCursor أفنت عند الضغط على زر https://wiki.multitheftauto.com/wiki/OnClientGUIClick
  9. You're Welcome.
  10. addEventHandler("onPlayerWasted", root, function(_,killer) if killer and getElementType(killer) == "player" then givePlayerMoney(killer, 1000) outputChatBox(getPlayerName(killer).." has killed "..getPlayerName(source).."!!!",root,255,255,255) local veh = getPedOccupiedVehicle(killer) if veh then fixVehicle(veh) end end end)
  11. لعمل النوافذ و الأزرار guieditor أستخدم المود https://community.multitheftauto.com/ind ... ils&id=141
  12. ؟GTA تقصد الماب الأصلي حق ذا ما تقدر تصغره ممكن تصغيره map أو عن طريق ملف createObject بس الأوبجيكت الي مسويه بـ و الكود جربته شغال
  13. الكود شغال بس أنت مسويه سيرفر و بالتالي كل مره تخش السيرفر يرجع الأوبجيكت لحجمه الطبيعي بسبب أن الماب كلينت -- Client Side -- function allObjectScale () for i, object in ipairs(getElementsByType("object")) do setObjectScale(object, 0.5) end end addEventHandler("onClientResourceStart", resourceRoot, allObjectScale) ولا تنسى ذي الشغله It is very important to note that this does not affect the collision models for the object.
  14. serial N/A? i think the serial be N/A if you login in web (HTTP)
  15. function setHealth(thePlayer, cmd, amount) setElementHealth(thePlayer, tonumber(amount)) end addCommandHandler("health", setHealth)
  16. حط الكود بالموضوع أضفت المود بقروب أدمن؟
  17. Do i have to make it Instead of you to let you know what? Can't you read the event name here? triggerServerEvent("setswat",localPlayer) it's setswat i don't understand what setAF does in your code i was think you want SWAT Team but your code have Armed Forces anyway it your code? or you copy it from somewhere else?
×
×
  • Create New...