Event Codes

Im still working on the table. Everything except the paramters are correct. Im getting the paramter info from plugin_logd.sma in the beta .03 package if you need the info ASAP - Kndroc

Code Name Parameter Description Notes
1 Cvar
Paramter Format: 'v' cvarName newCvarValue // v being for value
Or: 's' // s for start
Or: 'e' // e for end
Examples: v sv_maxrate  
  s  
  e  
Dormant
2 Log Files
Paramter Format: 's' // s for start
Or: 'e' // e for end
Examples: s
  e
Dormant
3 Change Map
Paramter Format: 's' mapName // s being for start
Or: 'l' mapName // l being for load
Examples: s de_dust
  l de_dust
Dormant
4 Rcon The exact log message as found in the standard format will be passed to this function Dormant
5 Server Name
Paramter Format: newHostName  
Examples: Ewok$Village  // in the log it looks like "Ewok Village"
None
6 Server Say
Paramter Format: hostMessage
Examples: this$is$a$test$message // in the log it looks like "this is a test message"
Dormant
50 Connection
Paramter Format: playerUserIndex ip_port
Examples: 453 2.4.7.12:98765
3 123.456.789.0:27015
None
51 Enter Game
Paramter Format: playerUserIndex
Examples: 27
7
None
52 Disconnection
Paramter Format: playerUserIndex
Examples: 2
15
None
53 Suicide
Paramter Format: playerUserIndex weaponString
Examples: 2 grenade
9 world
None
54 Team Selection
Paramter Format: playerUserIndex teamString
Examples: 20 TERRORIST
27 CT
None
55 Role Selection
Paramter Format: playerUserIndex roleString
Examples: 11 Medic
12 Sniper
None
56 Change Name
Paramter Format: playerUserIndex newName
Examples: 20 Player
4 Fox$Trot //in the log it looks like "Fox Trot"
None
57 Kill
Paramter Format: killerUserIndex victimUserIndex weaponString
Examples: 20 21 aug // person 20 killed person 21 with the aug
5 4 mac10 // person 5 killed person 4 with the mac10
This log event typically has OPEs with it in CS
58 Injure
Paramter Format: attackerUserIndex victimUserIndex weaponString
Examples: 20 21 aug // person 20 hurt person 21 with the aug
5 4 mac10 // person 5 hurt person 4 with the mac10
This log event typically has OPEs with it in CS
59 Player vs Player (PvP) Action
Paramter Format: invokerUserIndex recieverUserIndex actionString
Examples: 5 10 Medic_Heal  // person 5 healed person 10
6 4 Sentry_Destroyed // person 6 destroyed the sentry gun of person 4
None
60 Player Action
Paramter Format: invokerUserIndex actionString
Examples: 5 Planted_The_Bomb
6 Begin_Bomb_Defuse_With_Kit
None
61 Team Action
Paramter Format: teamString actionString
Examples: TERRORIST Terrorists_Win CT#4 T#6 // in the log it looks like> Team "TERRORIST" triggered "Terrorists_Win" (CT "4") (T "6")
CT Target_Saved CT#1 T#0 // in the log it looks like> Team "CT" triggered "Target_Saved" (CT "1") (T "0")
This log event typically has OPEs with it in CS
62 World Action
Paramter Format: actionString
Examples: Round_Start
Round_Draw
None
63 Chat
Paramter Format: 'n' playerUserIndex message // n being for normal talking
't' playerUserIndex message // t being for team talking
Examples: n 7 hey$joe$whats$up // chat message was originally "hey joe whats up"
t 4 go$around$back$ill$cover!!! // chat message was originally "go around back ill cover"
None
64 Team Alliance
Paramter Format: invokerTeamString recievingTeamString
Examples: Red Blue
None
65 Team Score Report
Paramter Format: teamString score numPlayers
Examples: TERRORIST 9 7  // terrorists won with a score of 9 and 7 people on the team
CT 20 5 // cts won with a score of 20 and 5 people on the team
None
66 Private Chat
Paramter Format: invokerUserIndex recieverUserIndex message
Examples: 7 6 hey$joe$whats$up // chat message from person 7 to person 6 was originally "hey joe whats up"
None
67 Player Score Report   Not Supported (but no mod uses it either yet)
68 Weapon Selection   Not Supported (but no mod uses it either yet)
69 Weapon Pickup   Not Supported (but no mod uses it either yet)