Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


koragg last won the day on December 17 2017

koragg had the most liked content!

Community Reputation

133 Excellent

About koragg

  • Rank
  • Birthday 11/02/1997


  • Gang
    [SiK] Speed is King
  • Location
    Sofia, Bulgaria
  • Occupation
  • Interests
    (: Android, Mountain Biking, GTA SA & Selena Gomez :)

Recent Profile Visitors

7,377 profile views
  1. I'm a race player and some very old maps tend to flicker some objects and/or make them invisible for some time. No clue why this happens but it does happen rarely. Hate it when i save my map and it bugs the :~ out of it. Had to start all over again a few times.
  2. Merry Christmas everyone, this game's always gonna be fun in huge part because of the scripting in Lua part
  3. If the accept id is always the same just write it inside the function like local acceptID = value. And use bindKey to bind function to key. If the acceptid isn't the same every time then it can't be done with bindKey and command handler is ok
  4. You need an accept id. This can't be done via a bind key unless the accept id is always the same and you hardcode it into the function itself.

    Hello, could you help me? I am creating a punishment panel, but I am missing a set timer to kill punished players and return to normal. Could you help me?



    1. koragg


      Hey, you'd be better off posting your problem in a topic so others can help out as well.

  6. Hello, Today I tried to upload an uncompiled resource to the community site and it said that the upload was successful but when I clicked on the "View resource" link it gave me a link which ended with "id=0". When I went to My View to check the resource was not there but there is an empty space right where the resource should have been at the top. I did "Inspect Element" on it and it can be seen that there is no value assigned to the "id" attribute of the highlighted link. The empty space can be seen as well. When I tried to upload the same resource again without chan
  7. The only thing stopping me from using this amazing tool is the NodeJS dependency. Right now I'm hosting my server from my local PC so it will work perfectly. But if I change to a real host they don't give access to the Linux console but only to the MTA server console which means I can't install NodeJS there and can't use it then. Ideal thing would be for it to be usable just like the IRC resource, only depending on websockets.dll (or .so).
  8. Also does this work for Lua files as well or only for models etc?
  9. Can I only disable default download and not use your event handlers? I just want to use the nice looking download bar for all of my server's resources but i can't edit each script to include the custom events in it - they're just too many :s
  10. Thanks for clearing some things up @IIYAMA, I know how to use OOP in Java/C#/C++/etc but it's a bit weird in Lua for some reason Fixed my problem with the below code put inside toptimes_server.Lua thanks to @Mihoje function onNickChange() setTimer(function() for id, player in ipairs(getElementsByType("player")) do g_SToptimesManager:queueUpdate(player) g_SToptimesManager:updateTopText() local playerPosition = g_SToptimesManager.mapTimes:getIndexForPlayer(player) clientCall(player, 'onServerSentToptimes', g_SToptimesManager.toptimesDataForMap, g_SToptimesManager.server
  11. How to use it I guess. I tried the below and nothing happened. function onNickChange() self:updateTopText() end addEventHandler("onPlayerChangeNick", root, onNickChange) also tried this: function onNickChange() if g_SToptimesManager and g_SToptimesManager.mapTimes then g_SToptimesManager:updateTopText() end end addEventHandler("onPlayerChangeNick", root, onNickChange) as well as this: function onNickChange() if g_SToptimesManager then local map = exports.cr_mapmanager:getRunningGamemodeMap() local mapName = getResourceInfo(map, "name") or getResourceName(map)
  12. Hey guys, Is it possible to update the toptimes window forcefully for all players whenever a player changes their nickname? I tried using some of the functions in the resource but since it's all in OOP - Idk nothing. Basically I've made the toptimes script to record account names into the database and to show account data as top name for all players in the F5 window. Every time a player changes their nickname that account data also changes so I want to forcefully update the F5 toptimes window for all playes online in order for it to be exactly up to date with the top names.
  13. wow @IIYAMA thanks, I'll need some days to see how this works and if I can use it
  • Create New...