hi,
I want to know some things.
If id or whatever index is wrong then this message here crash the server?
PHP Code:
message_begin(MSG_PVS, SVC_TEMPENTITY, origin)
write_byte(TE_DLIGHT) // TE id
write_coord(origin[0]) // x
write_coord(origin[1]) // y
write_coord(origin[2]) // z
write_byte(floatround(GRANATE_LGHT_RADIUS/5.0)) // radius
write_byte(255); // red
write_byte(128); // green
write_byte(0); // blue
write_byte(5) // life
write_byte(25) // decay rate
message_end()
Q:2
If id or whatever index is wrong then this message here crash the server?
PHP Code:
message_begin(MSG_ONE, g_msgFlashlight, _, id)
write_byte(g_flashlight[id]) // toggle
write_byte(g_flashbattery[id]) // battery
message_end()