Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. عزيزي طريقتك ذي ما بتقدر تشفر فيها الملف UTF-8 without BOM لازم تختار
  2. https://wiki.multitheftauto.com/wiki/IsObjectInACLGroup
  3. Description: delet plz. https://community.multitheftauto.com/ind ... ls&id=3885 DONE
  4. https://wiki.multitheftauto.com/wiki/EngineLoadTXD https://wiki.multitheftauto.com/wiki/EngineImportTXD https://wiki.multitheftauto.com/wiki/EngineLoadDFF https://wiki.multitheftauto.com/wiki/EngineReplaceModel
  5. https://community.multitheftauto.com/ind ... ls&id=1484 + https://wiki.multitheftauto.com/wiki/SetPlayerMuted
  6. تصحيح للسيرفر addEvent("nitro-1", true) addEventHandler("nitro-1", getRootElement(), function() local PlayerMoney = getPlayerMoney(source) if (PlayerMoney >= 1800) then if isPedInVehicle(source) then takePlayerMoney(source,1800) local name = getPlayerName(source) addVehicleUpgrade(getPedOccupiedVehicle(source), 1010) outputChatBox("تم اضافةالنتيرو لتشغيله اضغط CTRL", source, 255, 255, 0, true) else outputChatBox("انت لست بسيارتك", source, 255, 0, 0, true) end else outputChatBox("لايوجد معك مال كافي", source, 255, 0, 0, true) end end)
  7. local gate = createObject(2634, 372.17053222656, 166.54083251953, 1008.3893432617) setElementInterior(gate, هنا رقم الأنتيرو الي البنك فيه)
  8. Description: PLEASE DELETE. DOWNLOAD vreload_2.0 https://community.multitheftauto.com/ind ... ls&id=2224 DONE
  9. function addPickup(thePlayer, command,...) local text = table.concat({...}, " ") outputChatBox(text) end addCommandHandler("makeclue", addPickup)
  10. function giveClue ( hitElement, matchingDimension) destroyElement( clueMarker ) local cash = math.random( 10000, 15000 ) givePlayerMoney ( hitElement, cash ) outputChatBox(getPlayerName(hitElement).." has found the clue, he got $" .. cash .. "! The new clue will be spawned in 10 minutes!") setTimer ( putClue, 600000, 1 ) end
  11. It's mostly cause from custom cars, try to stop all of them and start each one, when you get crash then you will know what the car were cause the crash.
  12. MTA CRASHING? Read here first! viewtopic.php?f=104&t=31668
  13. They are two same resource, one should be removed. https://community.multitheftauto.com/ind ... ls&id=5043 https://community.multitheftauto.com/ind ... ls&id=5044 ============ https://community.multitheftauto.com/ind ... ls&id=1166 original https://community.multitheftauto.com/index.php?p= ... ls&id=1128 ============ Description: Please delete this. https://community.multitheftauto.com/ind ... ls&id=5262 Description: plz Delete. https://community.multitheftauto.com/ind ... ls&id=1284 Description: How can I delete this? ;(. https://community.multitheftauto.com/ind ... ls&id=2872 Description: hmm can this be deleted lol. https://community.multitheftauto.com/ind ... ils&id=935 Description: Admins pls delete. https://community.multitheftauto.com/ind ... ls&id=1356 Description: DELETE. SORRY ALL DONT DOWNLOAD IT!!!!!!!!!!!!!!!!!!!!!!!!. https://community.multitheftauto.com/ind ... ls&id=1576 Description: delete plz. https://community.multitheftauto.com/ind ... ls&id=1303 DONE
  14. addEventHandler("onClientResourceStart",getRootElement(),replace) to addEventHandler("onClientResourceStart",resourceRoot,replace)
  15. Window = guiCreateWindow ( 541,262,388,241, "login/register Panel", false ) tabPanel = guiCreateTabPanel (9,21,370,211, false, Window) Info = guiCreateTab( "login/register", tabPanel ) guiCreateLabel(159,4,40,17,"Name :",false,Info) gui-edit = guiCreateEdit(37,22,296,39, "", false,Info) guiCreateLabel(161,66,35,16,"",false,Info) gui-edit = guiCreateEdit(39,84,296,41, "", false,Info) button = guiCreateButton(102,133,167,45, "login/register", false,Info) bindKey("F2", "down", function() guiSetVisible(Window,not guiGetVisible(Window)) showCursor(guiGetVisible(Window)) guiSetInputEnabled(guiGetVisible(Window)) end)
  16. Window = guiCreateWindow ( 541,262,388,241, "login/register Panl", false ) tabPanel = guiCreateTabPanel ( 9,21,370,211, false, Window ) Info = guiCreateTab( "login/register", tabPanel ) guiCreateLabel(159,4,40,17,"Name :",false,tabPanel) gui-edit = guiCreateEdit( 37,22,296,39, "", false ) guiCreateLabel(161,66,35,16,"",false,tabPanel) gui-edit = guiCreateEdit( 39,84,296,41, "", false ) button = guiCreateButton( 102,133,167,45, "login/register", false ) bindKey("F2", "down", function() guiSetVisible(Window,not guiGetVisible(Window)) showCursor(guiGetVisible(Window)) guiSetInputEnabled(guiGetVisible(Window)) end)
  17. -- Client Side -- BTN2 = guiCreateButton(580,280,90,30,"Kills and Deaths",false,tab4) ---------------------ربط الازرار---------------- addEventHandler("onClientGUIClick",root,function() if source == BTN2 then triggerServerEvent("Show_Kills_and_Deaths",localPlayer) end end) -- Server Side -- addEvent("Show_Kills_and_Deaths",true) addEventHandler("Show_Kills_and_Deaths",root,function() local Name,Kill,Death = getPlayerName(source),getElementData(source,"Kills"),getElementData(source,"Deaths") outputChatBox(Name.." has Kills "..Kill.." and Deaths "..Death,root,255,255,255,true) end)
  18. addEventHandler("onClientGUIClick", root, function() if (source == start) and isPedInVehicle(localPlayer) then playSound("button.wav") setControlState("accelerate", true) end end )
  19. TAPL

    طلب كود

    https://wiki.multitheftauto.com/wiki/GuiCreateTabPanel
  20. BTN = guiCreateButton(20,80,90,30,"has money",false,tab4) ----------------ربط الازرار---------------------- addEventHandler("onClientGUIClick",root,function() if source == BTN then triggerServerEvent("ShowMoney",localPlayer) end end)
  21. لازم تسوي ترقير لسيرفر عشان كل اللاعبين يشوفون الكلام بالشات -- Client Side -- if source == BTN then triggerServerEvent("ShowMoney",localPlayer) -- Server Side -- addEvent("ShowMoney",true) addEventHandler("ShowMoney",root,function() local Name,Money = getPlayerName(source),getPlayerMoney(source) outputChatBox(Name.." has money $"..Money,root,255,255,255,true) end)
  22. TAPL

    freecam for race

    addCommandHandler("freecam", function() if isPedInVehicle(localPlayer) then if exports.freecam:isFreecamEnabled() then exports.freecam:setFreecamDisabled() setCameraTarget(localPlayer) outputChatBox("#c0c0c0* Freecam #abcdefdisabled#c0c0c0!",255,255,255,true) else exports.freecam:setFreecamEnabled() outputChatBox("#c0c0c0* Freecam #abcdefenabled#c0c0c0!",255,255,255,true) end else outputChatBox("#c0c0c0* You are in a car, you cant use Freecam when you are alive!",255,255,255,true) end end)
  23. you mean something like this? if guiGetText(GUIEditor_Edit[6]) == "" then
  24. ah you mean using the element data? if getElementData(source, "Occupation") == "Mechanics" then
  25. replace if isPlayerInTeam(source, "Mechanics") then to local team = getPlayerTeam(source) if team and getTeamName(team) == "Mechanics" then
×
×
  • Create New...