Jump to content

Search the Community

Showing results for tags 'long execution'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Hello, I need some help here! I'm making a new gamemode for a server, but there is an error that's appearing and it's making ' Network Trouble ', it's like a infinite error! This is what appears at console: logs.txt [2016-11-17 13:06:50] WARNING: Long execution (rustgamemode) [2016-11-17 13:06:51] WARNING: [rust]\rustgamemode\vehicles_System.lua:120: Bad argument @ 'setElementData' [Expected element at argument 1, got nil] [2016-11-17 13:06:51] WARNING: [rust]\rustgamemode\vehicles_System.lua:121: Bad argument @ 'setElementData' [Expected element at argument 1, got nil] and then the same errors appears again, it's like infinite ultil I shutdown the server. And there is the ' vehicles_System.lua (server-side)' file where the error appears : function createPostos () for i,postos in ipairs(posicoesPostos) do local x,y,z = postos[1],postos[2],postos[3] postosCol = createColSphere(x,y,z,3) setElementData(postosCol,"postogasosa",true) setElementData(postosCol,"gasosanoposto",100) local patrolTime = setTimer( function() for i, postosdestruir in ipairs(getElementsByType("colshape")) do if getElementData(postosdestruir,"postogasosa") then destroyElement(postosdestruir) createPostos() --respawn patrolstation (give them 100 fuel again) else -- end end end,3600000,1) --1 hour 'till respawn fuel again end end createPostos() --make the patrolstation colshape and give them 100 fuel Can you guys help me with this issue? I don't know how to fix it. Sorry for my bad english! hehe
×
×
  • Create New...