koragg

Members
  • Content count

    474
  • Joined

  • Last visited

Community Reputation

71 Popular

6 Followers

About koragg

  • Rank
    Hustler
  • Birthday 11/02/97

Details

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

Recent Profile Visitors

1,641 profile views
  1. Hi guys, so I noticed something very odd for me. Since I'm on a slow 4G hotspot right now it takes some time to download files from a server. But why do I get to download files which were never modified again and again on every join? Example: Download error: Error downloading requested files. Couldn't connect to server. [Failed to connect to 104.233.69.110 port 22005: Host unreachable] [race/img/specnext_hi.png] Why does it download that file every time I join my server when I've already downloaded it weeks ago when I first joined my server from this laptop? And it's the same with other files from 'race' and 'admin' resources. If your internet is fast it's no problem but for slow net 4MB can take some time to download, and it's not necessary as those files were not updated so shouldn't request a download in the first place. I searched for "fileDelete" at the end of scripts but found none so the files shouldn't delete themselves.
  2. That and to save space on the server itself i guess. Though all of mine are in folders because it's way easier to edit that way.
  3. Shouldn't it be similar to the Kick one? I can't do code cuz it's 7am and I'm in bed but... 1. You click a player name in a grid in your panel. 2. You use 'getPlayerFromPartialName' to get the player with that nickname. Remember: this is a useful function so you need it's code from the wiki before using it. 3. Then you do 'setPlayerMuted' on the guy you just found in step 2.
  4. http://community.multitheftauto.com/index.php?p=resources&s=details&id=14139
  5. Required Arguments thePed: the ped you want to check. Try this: isPedInVehicle(localPlayer)
  6. Thanks guys, I had an idea about something and wasn't sure if it would work. Now I know it wouldn't have but I managed to do it another way
  7. Pretty much what the title says. If i use 'onResourceStart' server side does that mean that when a player joins late the function will get initiated for him?
  8. Here's what i use. Look how it's done maybe, iirc it wasn't that hard. http://community.multitheftauto.com/index.php?p=resources&s=details&id=8008
  9. If you still get that string error try to use 'tonumber'.
  10. You can't use any lua scripts that way. They should be put on the server itself in order to work. And if you delete or modify some GTA files then you may not be allowed to enter many servers or if an admin sees that you go through trees for example he may ban you of the server.
  11. Remove the scoreboard part from the end of the link. You'll get a login prompt so login with your in game admin account. Then go to Groups, Everyone and see if under Resources it's marked "All resources". PS: My web scoreboard just stopped working for some f***ing reason when i changed my server's IP (just shows blank page when viewed from html or that link i told you but is fine from the resource browser)... so i can't help more than this for now.
  12. How do you get this error when you haven't used that function anywhere lol? [2017-07-14 08:00:42] WARNING: BigPlaneEnter\c_bigplane.lua:2: Bad argument @ 'getVehicleName' [Expected vehicle at argument 1, got nil]
  13. You shouldn't do that. The html css and js files should remain in their original position in the scoreboard resource on your server. To access the scoreboard you need to go to this link: http://<serverip>:<httpport>/scoreboard/ You can find the http port when you open your mtaserver.conf file and the IP, well, is the IP of the server
  14. Or if you have a 'Staff' acl group then use this: -- List of commands to disable cmdList = { ["speaker"]=true, ["superman"]=true, } -- Disable unwanted commands function onPlayerCommand(cmdName) local accName = getAccountName(getPlayerAccount(source)) if isObjectInACLGroup("user."..accName, aclGetGroup("Staff")) then return end if cmdList[cmdName] then cancelEvent() end end addEventHandler("onPlayerCommand", root, onPlayerCommand)
  15. You can always use SQLite or MySQL databases for any sort of stuff, but don't look at me for help with that I hate SQL, account and element data all the way.