Krex

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Krex

  • Rank
    Square

Recent Profile Visitors

238 profile views
  1. Hello everyone, I recently created a freeroam server called Nighthriller. My server has many advanced features like : Zombies, VIPs, TDM, Races, PvP, Dpgfight and someother features. So if your interested in joining, the Server IP is : 51.255.215.208:22090
  2. Please anyone help me with this code, it's supposed to remove a team from the scoreboard if there are no players in it. But it give errors. local team = getElementsByType ( "team" ) local SapphireTeam = getTeamFromName ( "Sapphire" ) local SapphireCount = countPlayersInTeam ( SapphireTeam ) if SapphireCount < 1 then destroyElement ( team ) end server.lua:5: Bad argument @ 'destroyElement' [Expected element at argument 1, got table]
  3. Krex

    Team Blip Color

    Thank's, it works well now
  4. Krex

    Team Blip Color

    Can anyone please help me with this code, it supposed to change a player's name and blip color to the color of their team when they switch team's. But the problem is, when i change my team the blip color changes for all players, even though their not in my team. function setTeamColor() for _,player in ipairs(getElementsByType("player")) do for _,blip in ipairs(getElementsByType("blip")) do local team = getPlayerTeam(player) if (team) then local r,g,b = getTeamColor(team) setPlayerNametagColor(player,r,g,b) setBlipColor(blip,r,g,b,255) end end end end setTimer(setTeamColor,500,0)
  5. Krex

    Hydra Rocket Damage

    Thanks, i had already figured it out.
  6. Krex

    Hydra Rocket Damage

    It didn't work....... but thanks for trying. ill see what i can do with this code.
  7. Help, does anyone know a way to like increase the explosive damage from hydra missiles?
  8. Ok thank you, it works well now.
  9. No i didn't remove the resource. Here's my acl: </group> <group name="Admin"> <acl name="Admin"></acl> <acl name="RPC"></acl> <acl name="VIP"></acl> <acl name="SuperModerator"></acl> <acl name="Moderator"></acl> <object name="resource.admin"></object> <object name="resource.webadmin"></object> <object name="user.kalmex"></object> _____________________________________ <acl name="Admin"> <right name="general.ModifyOtherObjects" access="true"></right> <right name="general.http" access="true"></right> <right name="command.shutdown" access="true"></right> <right name="command.mods" access="true"></right> <right name="command.install" access="true"></right> <right name="command.aexec" access="true"></right> <right name="command.debugscript" access="true"></right> <right name="command.upgrade" access="true"></right> <right name="command.crun" access="true"></right> <right name="command.srun" access="true"></right> <right name="command.run" access="true"></right> <right name="command.aclrequest" access="true"></right> <right name="command.authserial" access="true"></right> <right name="command.reloadacl" access="true"></right> <right name="function.addBan" access="true"></right> <right name="function.setUnbanTime" access="true"></right> <right name="function.setBanAdmin" access="true"></right> <right name="function.setBanReason" access="true"></right> <right name="function.setBanNick" access="true"></right> <right name="function.removeBan" access="true"></right> <right name="function.reloadBans" access="true"></right> <right name="function.executeCommandHandler" access="true"></right> <right name="function.setServerPassword" access="true"></right> <right name="function.getServerPassword" access="true"></right> <right name="function.createResource" access="true"></right> <right name="function.copyResource" access="true"></right> <right name="function.addResourceMap" access="true"></right> <right name="function.addResourceConfig" access="true"></right> <right name="function.removeResourceFile" access="true"></right> <right name="function.setResourceDefaultSetting" access="true"></right> <right name="function.removeResourceDefaultSetting" access="true"></right> <right name="function.aclReload" access="true"></right> <right name="function.aclSave" access="true"></right> <right name="function.aclCreate" access="true"></right> <right name="function.aclDestroy" access="true"></right> <right name="function.aclSetRight" access="true"></right> <right name="function.aclRemoveRight" access="true"></right> <right name="function.aclCreateGroup" access="true"></right> <right name="function.aclDestroyGroup" access="true"></right> <right name="function.aclGroupAddACL" access="true"></right> <right name="function.aclGroupRemoveACL" access="true"></right> <right name="function.aclGroupAddObject" access="true"></right> <right name="function.aclGroupRemoveObject" access="true"></right> <right name="function.refreshResources" access="true"></right> <right name="function.setServerConfigSetting" access="true"></right> <right name="function.updateResourceACLRequest" access="true"></right> <right name="function.shutdown" access="true"></right> <right name="general.adminpanel" access="true"></right> <right name="general.tab_players" access="true"></right> <right name="general.tab_resources" access="true"></right> <right name="general.tab_maps" access="true"></right> <right name="general.tab_server" access="true"></right> <right name="general.tab_bans" access="true"></right> <right name="general.tab_adminchat" access="true"></right> <right name="command.kick" access="true"></right> <right name="command.freeze" access="true"></right> <right name="command.mute" access="true"></right> <right name="command.setnick" access="true"></right> <right name="command.shout" access="true"></right> <right name="command.spectate" access="true"></right> <right name="command.slap" access="true"></right> <right name="command.setgroup" access="true"></right> <right name="command.sethealth" access="true"></right> <right name="command.setarmour" access="true"></right> <right name="command.setmoney" access="true"></right> <right name="command.setskin" access="true"></right> <right name="command.setteam" access="true"></right> <right name="command.giveweapon" access="true"></right> <right name="command.setstat" access="true"></right> <right name="command.jetpack" access="true"></right> <right name="command.warp" access="true"></right> <right name="command.setdimension" access="true"></right> <right name="command.setinterior" access="true"></right> <right name="command.createteam" access="true"></right> <right name="command.destroyteam" access="true"></right> <right name="command.givevehicle" access="true"></right> <right name="command.repair" access="true"></right> <right name="command.blowvehicle" access="true"></right> <right name="command.destroyvehicle" access="true"></right> <right name="command.customize" access="true"></right> <right name="command.setcolor" access="true"></right> <right name="command.setpaintjob" access="true"></right> <right name="command.listmessages" access="true"></right> <right name="command.readmessage" access="true"></right> <right name="command.listresources" access="true"></right> <right name="command.start" access="true"></right> <right name="command.stop" access="true"></right> <right name="command.stopall" access="false"></right> <right name="command.delete" access="true"></right> <right name="command.restart" access="true"></right> <right name="command.execute" access="true"></right> <right name="command.setpassword" access="true"></right> <right name="command.setwelcome" access="true"></right> <right name="command.setgame" access="true"></right> <right name="command.setmap" access="true"></right> <right name="command.setweather" access="true"></right> <right name="command.blendweather" access="true"></right> <right name="command.setblurlevel" access="true"></right> <right name="command.setwaveheight" access="true"></right> <right name="command.setskygradient" access="true"></right> <right name="command.setgamespeed" access="true"></right> <right name="command.setgravity" access="true"></right> <right name="command.settime" access="true"></right> <right name="command.setfpslimit" access="true"></right> <right name="command.ban" access="true"></right> <right name="command.unban" access="true"></right> <right name="command.banip" access="true"></right> <right name="command.unbanip" access="true"></right> <right name="command.banserial" access="true"></right> <right name="command.unbanserial" access="true"></right> <right name="command.listbans" access="true"></right> <right name="function.addaccount" access="true"></right> <right name="general.tab_resource" access="true"></right> <right name="command.startresource" access="true"></right> </acl>
  10. I cant start resource on admin panel even though admin has right's, i keep getting this error WARNING: [admin]/admin/server/admin_server.lua:1261: Access denied @ 'startResource' WARNING: [admin]/admin/server/admin_server.lua:1262: Access denied @ 'restartResource' WARNING: [admin]/admin/server/admin_server.lua:1263: Access denied @ 'stopResource' Anyone please help me with this.