URBAN

Members
  • Content count

    37
  • Joined

  • Last visited

  • Days Won

    1

URBAN last won the day on February 6

URBAN had the most liked content!

Community Reputation

9 Neutral

2 Followers

About URBAN

  • Rank
    Rat
  • Birthday 12/12/2000

Details

  • Location
    Turkey
  • Occupation
    Student
  • Interests
    Programming/Scripting

Recent Profile Visitors

619 profile views
  1. URBAN

    All RPG Scripts

    https://forum.mtasa.com/forum/149-looking-for-staff/
  2. URBAN

    delete console car.

    stop play script // wrong section dude use https://forum.mtasa.com/forum/71-scripting/ next time
  3. URBAN

    where i set start money

    We don't support leaked resources.
  4. URBAN

    how to disable short nicks.

    addEventHandler("onPlayerChangeNick", root, function(oldNick, newNick) if string.len(newNick) <= 3 then setPlayerName(source,oldNick) end end)
  5. URBAN

    Greanade, Help Plz

    Use setTimer, getPedWeapon and toggleControl
  6. 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 )
  7. URBAN

    help DX box

    https://wiki.multitheftauto.com/wiki/IsMouseInPosition and bindKey
  8. URBAN

    [HELP] Custrom weapon

    Here is an example. Use shader_tex_names to get shader name.
  9. URBAN

    setPlayerPosition

    Call it on server side if you call in client it wont sync dimension or interior
  10. URBAN

    XML problem

    If its client sided check mta resources folder
  11. URBAN

    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 )
  12. URBAN

    Fuel system

    if getVehicleType(source) == 'BMX' or getVehicleType(source) == 'Bike' or getVehicleType(source) == 'Quad' then return end
  13. URBAN

    Change hud position

    Use gueditor resource to get position
  14. URBAN

    [HELP] Custrom weapon

    Or you can use shader you can add different skins per player
  15. URBAN

    [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