dynamic_light_on_player(id,Float:origin[3], red = 255, green = 255, blue = 255) { message_begin(MSG_ONE,SVC_TEMPENTITY,_,id) write_byte(TE_DLIGHT) // The light effect engfunc(EngFunc_WriteCoord,origin[0]) // x engfunc(EngFunc_WriteCoord,origin[1]) // y engfunc(EngFunc_WriteCoord,origin[2]) // z write_byte(75) // radius write_byte(red) // r write_byte(green) // g write_byte(blue) // b write_byte(4) // life write_byte(120) // decay rate message_end() }
You need to refresh the message, the light is a temp entity!