Jump to content

Sol

Coders
  • Posts

    117
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by Sol

  1. if os.time() == timetodelete then os.execute("rm silent/serverlog.log") -- rly i dunno working dir end Just simple idea.
  2. gamename: etmain Maybe just type in scr +set fs_game silent
  3. Yes, u can do all of thinks instead of enhmod. But a lot of fixes silent have already. If u want to more advanced things u can use QMM's plugins its really usefull.
  4. Here you are: check = true ff = 0 function et_InitGame(levelTime, randomSeed, restart) ff = tonumber(et.trap_Cvar_Get( "g_friendlyfire" )) et.trap_SendConsoleCommand(et.EXEC_APPEND, "g_friendlyfire 1\n") check = true end function et_RunFrame( levelTime ) if tonumber(et.trap_Cvar_Get( "gamestate" )) == 0 and check == true then et.trap_SendConsoleCommand(et.EXEC_APPEND, string.format("g_friendlyfire %d\n", ff)) check = false end end
  5. As for the mines u're right. I have maybe solution for it. team_maxlandmines - max landmines per team g_landminepereng - max landmines per engineer in team, but (person * (active landmines) < team_maxlandmines) example: team_maxlandmines = 10 g_landminepereng = 2 With these settings 5 engs can set 2 landmines @ Rather, it will not be threatened 'mine fields'
  6. Hello, i have two requests so. 1. In our server is notorious arty spam, g_minartytime works like crap. Its my alternative ex: team_maxartillery -- Max (artilleries and supports fire (per team)) per (team_betweenarts) time team_betweenarts -- time between artilleries 2. So many peoples (haters) destroy teammate's landmines. Its pretty good if you will add new bit flag ex: g_friendlyFireOpts 32 - Only owner of landmine can destroy own landmine.
  7. set g_antiwarp 1 (server) set pmove_fixed 0 (server) ? pmove_fixed 0 (client) But prediction problems aren't fixed completely yet.
  8. function et_InitGame( levelTime, randomSeed, restart ) et.trap_SendConsoleCommand(et.EXEC_NOW,"sets sv_uptime "..et.trap_Cvar_Get( "uptime" ) ) end but it's a string, and it will refresh every map
  9. g_serverinfo's cvars arent updates every frame i think. You can chack that with !update command, or just make simple LUA script which will be loging uptime per 1,2,3min or per map etc.
  10. I dont know any cvars but just type on ur console netstat and connect to that server.
  11. File Name: Admin Check File Submitter: sol File Submitted: 06 Dec 2011 File Category: LUA www.sol-solutions.pl Admin Check LUA Script. Version: 1.0 MinAdmLevel = 20 -- Min Adminlevel to show admin on list AdmLeveltocmd = 0 -- Min Adminlevel to run this command Maxchars = 10 -- name len (max chars) Click here to download this file
  12. Sol

    Admin Check

    167 downloads

    www.sol-solutions.pl Admin Check LUA Script. Version: 1.0 MinAdmLevel = 20 -- Min Adminlevel to show admin on list AdmLeveltocmd = 0 -- Min Adminlevel to run this command Maxchars = 10 -- name len (max chars)
  13. Anyway thanks for the informations gao.
  14. I made a simple script to remove players guid, but it doesn't remove why? function et_ClientConnect( clientNum, firstTime, isBot ) if isBot == false then et.Info_SetValueForKey( et.trap_GetUserinfo( clientnum ), "cl_guid", "" ) -- MAX_GAMESTATE_CHARS end end Simple Panzer Check I will add more scripts soon
×
×
  • Create New...