URBAN

Members
  • Content count

    33
  • Joined

  • Last visited

  • Days Won

    1

URBAN last won the day on February 6

URBAN had the most liked content!

Community Reputation

8 Neutral

2 Followers

About URBAN

  • Rank
    Rat
  • Birthday 12/12/2000

Details

  • Location
    Turkey
  • Occupation
    Student
  • Interests
    Programming/Scripting

Recent Profile Visitors

453 profile views
  1. Greanade, Help Plz

    Use setTimer, getPedWeapon and toggleControl
  2. function AutoFix() if ( guiCheckBoxGetSelected(GUIEditor.checkbox[1])) then --vehicles = getElementsByType ( "vehicle" ) -- for vehicleKey,vehicleValue in ipairs(vehicles) do vehicleValue = getPedOccupiedVehicle(localPlayer) if vehicleValue then else return end fixVehicle ( vehicleValue ) setTimer ( function() setElementHealth ( vehicleValue, 1000.0 ) end, 10000, 1 ) --end end end setTimer( AutoFix, 100, 0 )
  3. help DX box

    https://wiki.multitheftauto.com/wiki/IsMouseInPosition and bindKey
  4. [HELP] Custrom weapon

    Here is an example. Use shader_tex_names to get shader name.
  5. setPlayerPosition

    Call it on server side if you call in client it wont sync dimension or interior
  6. XML problem

    If its client sided check mta resources folder
  7. Help Altitude Script

    function height() local jet = doesPedHaveJetPack ( localPlayer ) local x,y,z = getElementPosition (getLocalPlayer()) local height = math.floor((z*0)) if ( jet ) then if isPedOnGround(localPlayer) then z = 0 end dxDrawText("Altitude: " .. (z).."", 17, 461, 110, 498, tocolor(254, 17, 17, 254), 0.50, "bankgothic", "left", "top", false) end end addEventHandler ( "onClientRender", getRootElement(), height )
  8. Fuel system

    if getVehicleType(source) == 'BMX' or getVehicleType(source) == 'Bike' or getVehicleType(source) == 'Quad' then return end
  9. Change hud position

    Use gueditor resource to get position
  10. [HELP] Custrom weapon

    Or you can use shader you can add different skins per player
  11. [Help] Custom Mute System

    if reason == "1" then if isPlayerMuted(target) then return outputChatBox("Player is already muted.", player, 255, 0, 0) end if playeraccount then else return end if isGuestAccount(playeraccount) then return end setPlayerMuted(target, true) setAccountData(playeraccount, "mutedfor30secs", true) outputChatBox("* "..name.." has been muted by "..plrname.."!", root, 13, 107, 39, true) setTimer(setPlayerMuted,30*1000,1,target,false) setTimer(setAccountData,30*1000,1,playeraccount,"mutedfor30secs",false) setTimer(outputChatBox,30*1000,1,"unmuted",root) end function muteOnLogin(_, playeraccount) if playeraccount then else return end if isGuestAccount(playeraccount) then return end local muted = getAccountData(playeraccount, "mutedfor30secs") if muted then setPlayerMuted(source, true) outputChatBox("muted", root) setTimer(setPlayerMuted,30*1000,1,target,false) setTimer(setAccountData,30*1000,1,playeraccount,"mutedfor30secs",false) setTimer(outputChatBox,30*1000,1,"unmuted",root) end end addEventHandler("onPlayerLogin", root, muteOnLogin) -- addEventHandler("onPlayerQuit", root, -- function(_, playeraccount) -- if not muted then return end -- if not (playeraccount) and isGuestAccount(playeraccount) then return end -- local muted = getAccountData(playeraccount, "mutedfor30secs") -- setAccountData(playeraccount, "quit", true) -- end) -- dont need it u already stored mutedfor30secs
  12. [Help] Custom Mute System

    Use setAccountData to store data and when player logins check it
  13. [Help] Vehicle Collision || Destroy

    setElementCollisionsEnabled(car, false) to the car which i spawn, but the thing is once i spawn the vehicle, it goes directly up into the Air like there is none of Gravity if you know i mean, here is the code : 📋 allowedTeams = { ["Staff"] = true,} function spawner ( sourceplayer, commandname) if allowedTeams[getTeamName(getPlayerTeam( sourceplayer))]then local x, y, z = getElementPosition ( sourceplayer ) local location = getZoneName ( x, y, z ) local car = createVehicle ( 445, x, y, z) warpPedIntoVehicle ( sourceplayer, car ) setElementCollisionsEnabled(car, false) setVehiclePlateText( car, 'housing' ) setVehicleHandling(car , "maxVelocity", 40) setVehicleLocked ( car, true ) setVehicleDamageProof(car, true) local vehicleName = getVehicleName (car) outputChatBox ( "Your vehicle is being destroyed in few Seconds due to the Abuse", sourceplayer, 255, 255, 0 ) outputDebugString ( "Housing Admin: [" ..getPlayerName(sourceplayer).."] Has Spawned "..vehicleName.." At {" ..location.."}.") setTimer ( function() destroyElement (car) end, 25000, 1 ) else setElementCollisionsEnabled(car, true) outputDebugString ( "Housing Admin: [" ..getPlayerName(sourceplayer).."] Has Tried the Housing command.") end end addCommandHandler ( "spawn", spawner ) function out ( vehicle ) if vehicle then else return end if getElementData(vehicle,"housing") then else return end destroyElement(vehicle) end addEventHandler ( "onPlayerVehicleExit", getRootElement(), out ) I wrote it on phone so i couldnt delete spaces
  14. Food shops blips?!

    Maybe you are using custom radar many custom radars dont support blips
  15. Enquiry