Hello , I have a question , have this piece of code , there is a case for the conditions so my question is , how do you know the meaning of these numbers and what they mean. For example 35 and 36 that it is a value . And even I do not know where it is and where to look. Game day defeat source .
PHP Code:
if (GetConVarInt(Cvar_rules_mg_Enable) == 1)
{
new weapon_pos = GetEventInt(event, "weapon")
switch (weapon_pos)
{
case 35,36: <---------------- value text event
{
new health[MAXPLAYERS + 1]
health[client] = GetClientHealth(client)
if (health[client] > 5)
{
health[client] = health[client] - 5
SetEntityHealth(client, health[client])
PrintToChat(client, "\x01\x04[Action]\x01 The jerking of your MG has caused you to hurt your arms because you had not deployed it before firing!")
}
else
{
ForcePlayerSuicide(client)
}
}
}
text string values here :
https://github.com/VSES/SourceEngine...od_gamestats.h
P.S. code is not my only example.