Hey, wondering if its just something cooky with Half-life in that whenever the health message is set so that it is displaying zero it seems to lock the directional plane. This is similar to in a KZ map when you checkpoint on a ladder.
+forward always goes in one direction, not the one in which you are looking. same goes with strafeleft/right and backwards. It happens when i set the person's health to 256 also, and not just when i display a zero.
This is the message function:
Code:
public hudtime_msg(id,cltime)
{
message_begin(MSG_ONE_UNRELIABLE,get_user_msgid("RoundTime"),{0,0,0},id)
write_short(cltime)
message_end()
message_begin(MSG_ONE_UNRELIABLE,get_user_msgid("Health"), {0,0,0}, id);
new byte:checkpoints = byte:gChecks[id] // Realize this isn't probably needed
write_byte(checkpoints)
message_end()
message_begin(MSG_ONE_UNRELIABLE,get_user_msgid("Battery"), {0,0,0}, id);
write_short(gTeles[id])
message_end()
return PLUGIN_HANDLED
}
What im really looking to find out is if this is something that i have done, a bug, or just something about HL
edit: Also like to note that this effect goes away after the player uses a checkpoint, and zero is no longer displayed