URBAN

Members
  • Content Count

    46
  • Joined

  • Last visited

  • Days Won

    1

URBAN last won the day on February 6

URBAN had the most liked content!

Community Reputation

10 Decent

2 Followers

About URBAN

  • Rank
    Rat
  • Birthday 12/12/2000

Details

  • Location
    Turkey
  • Occupation
    Student
  • Interests
    Programming/Scripting

Recent Profile Visitors

1,129 profile views
  1. URBAN

    [HELP] No one can join my server

    Write openports on console may be u did something wrong
  2. URBAN

    Can't Join Any Server - SD #5 OANE

    reinstalling windows is best solution
  3. URBAN

    Respawn player with command

    addCommandHandler( 'respawn' , function( player , command , Name ) if ( getPlayerFromName( tostring( Name ) ) ~= false ) then spawnPlayer( getPlayerFromName( tostring( Name ) ) , 0 , 0 , 10 , 0 , tonumber( getElementModel( getPlayerFromName( tostring( Name ) ) )) ) end end )
  4. URBAN

    commands reader

    addEventHandler("onResourceStart",root, function() if fileExists("log.txt") then log = fileOpen("log.txt") else log = fileCreate("log.txt") end end) addEventHandler("onPlayerCommand",root, function(command) fileWrite(file,getPlayerName(source).." used "..command.." command.".."\n" ) end)
  5. URBAN

    Respawn player with command

    addCommandHandler( 'respawn' , function( player , command , Name ) if ( getPlayerFromName( tostring( Name ) ) ~= false ) then spawnPlayer( getPlayerFromName( tostring( Name ) ) , 0 , 0 , 10 , 0 , tonumber( getElementModel(player) ) ) end end )
  6. 143. line at guimanager.lua function toggleEditor ( ) if getElementData(localPlayer,"admin") then else return end add somewhere at core.lua addEventHandler("onPlayerLogin", root, function() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("Admin")) then setElementData(source,"admin",true) end end)
  7. URBAN

    [HELP] Why not working this script?

    local times = 0 function ada(chosenOption) if chosenOption == 9 then setElementData(root, "played", times+1) end end addEvent("onPollEnd",true,true) addEventHandler("onPollEnd", root,ada)
  8. URBAN

    attempt to call field 'invert' (a nil value)

    https://github.com/davidm/lua-matrix/blob/master/lua/matrix.lua add matrix functions from there
  9. URBAN

    All RPG Scripts

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

    delete console car.

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

    where i set start money

    We don't support leaked resources.
  12. URBAN

    how to disable short nicks.

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

    Greanade, Help Plz

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

    help DX box

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