Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/08/12 in all areas

  1. Sol

    chat

    Here you are, this is my simple script which I use it on my server. logname = "chatlog.log" function et_ClientCommand( num, cmd ) if cmd == "say" or cmd == "say_team" or cmd == "say_buddy" then if et.trap_Argc() > 1 then local msg = "" local name = et.Q_CleanStr(et.gentity_get(num, "pers.netname")) for i = 1, et.trap_Argc() - 1 do msg = string.format("%s %s", msg, et.Q_CleanStr(et.trap_Argv( i ))) end WriteToFile(logname, string.format("[%s]-[%s]: %s\n", os.date(), name, msg )) else local name = et.Q_CleanStr(et.gentity_get(num, "pers.netname")) local msg = string.format("[%s]-[%s]: %s\n", os.date(), name, et.Q_CleanStr(et.trap_Argv(1))) WriteToFile(logname, msg) end end end function WriteToFile( filename, str ) fd, len = et.trap_FS_FOpenFile( filename, et.FS_APPEND ) et.trap_FS_Write( str, string.len(str), fd ) et.trap_FS_FCloseFile( fd ) end
    2 points
  2. Petbark

    Grenade Charging

    If you don't have enough chrage in the engineer bar then it will not fire. I think level 1 takes about 70% of the charge with level 4 taking just under 50% but i might be wrong on those numbers.
    1 point
  3. This line in the server.cfg seems to be the problem. The campaign cycle does start the mod because it has the map command inside. The watchdog command is probably irrelevant but I recommend removing that one too. It is enough when these are in the silent.cfg. EDIT: The issue is that the server.cfg is executed first and the silent.cfg after. It is better to have only one cfg in the command line to avoid problems.
    1 point
  4. Could you post your whole config file? Just hide your passwords first.
    1 point
×
×
  • Create New...