Flipi Posted September 2, 2013 Share Posted September 2, 2013 Hi, i need help with the resource. Screen: http://img823.imageshack.us/img823/7056/p1vw.png Server: exports.scoreboard:addScoreboardColumn('Estado', getRootElement(), 9, 0.10) addEvent('StatusScoreBoard',true) addEventHandler('StatusScoreBoard',root, function( Status ) if ( Status ) then setElementData(client,'Estado',tostring(Status)) end end ) Link to comment
TAPL Posted September 2, 2013 Share Posted September 2, 2013 The error tells you that the scoreboard is not running, it's occurs on the server startup because you have put your resource to start before the scoreboard in mtaserver.conf so all you have to do is move the line from its place. Example: "YourResourceName" startup="1" protected="0" /> "scoreboard" startup="1" protected="0" /> Should be: "scoreboard" startup="1" protected="0" /> "YourResourceName" startup="1" protected="0" /> Link to comment
50p Posted September 2, 2013 Share Posted September 2, 2013 Error is simple to understand... The resource with exported function (scoreboard) is not running. You have to start scoreboard resource before you call its exported function. You can automatically start the resource by including it in the meta.xml <include resource="scoreboard" /> Link to comment
Flipi Posted September 2, 2013 Author Share Posted September 2, 2013 Error is simple to understand... The resource with exported function (scoreboard) is not running. You have to start scoreboard resource before you call its exported function.You can automatically start the resource by including it in the meta.xml <include resource="scoreboard" /> oks thanks ! Link to comment
Flipi Posted September 2, 2013 Author Share Posted September 2, 2013 The error tells you that the scoreboard is not running, it's occurs on the server startup because you have put your resource to start before the scoreboard in mtaserver.conf so all you have to do is move the line from its place.Example: "YourResourceName" startup="1" protected="0" /> "scoreboard" startup="1" protected="0" /> Should be: "scoreboard" startup="1" protected="0" /> "YourResourceName" startup="1" protected="0" /> thanks man ! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now